Function at 0x492784
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
push esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa8]
xor ebp, ebp
cmp ecx, ebp
push edi
mov edi, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
je 0x493aba
cmp esi, ebp
je 0x493aba
cmp eax, ebp
je 0x493aba
test edx, 0xbffceff8
je 0x4927f4
push 0x3ec
jmp 0x493abc
mov eax, dword [ecx + 0x1c]
cmp eax, ebp
mov dword [esp + 0x98], eax
jne 0x4928a0
cmp dword [esp + 0xa8], ebp
je 0x492885
movzx ecx, word [esi]
cmp cx, bp
jne 0x492821
cmp dword [esp + 0xa8], 0xfffffffe
je 0x492864
cmp ebx, ebp
je 0x492864
movzx eax, word [edi]
cmp ax, bp
jne 0x492839
xor ebp, ebp
cmp dword [esp + 0xb0], 0xfffffffe
je 0x492864
cmp cx, ax
jne 0x492864
mov eax, dword [esp + 0x18]
sub eax, 1
add esi, 2
add edi, 2
sub ebx, 1
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x49280f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
jmp 0x492885
cmp dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
je 0x492885
cmp word [esi], bp
jne 0x4928a0
cmp dword [esp + 0xa8], 0xfffffffe
jne 0x4928a0
cmp ebx, ebp
je 0x493aa8
cmp word [edi], bp
jne 0x4928a0
cmp dword [esp + 0xb0], 0xfffffffe
je 0x493aa8
mov eax, edx
and eax, 4
mov dword [esp + 0x68], eax
mov ecx, edx
and ecx, 2
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], ecx
mov eax, edx
and eax, 0x1000
or esi, 0xffffffff
mov ecx, edx
mov dword [esp + 0x94], eax
and ecx, 3
cmp ecx, 3
mov eax, 4
mov dword [esp + 0x58], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], esi
ja case.default.0x49290f
jmp dword [ecx*4 + 0x493ae0]
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp dword [ecx + 0x18], ebp
mov dword [esp + 0x34], esi
setne al
add eax, 1
or eax, 4
mov dword [esp + 0x40], eax
jmp case.default.0x49290f
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp dword [ecx + 0x18], ebp
mov dword [esp + 0x34], 0xe7ffffff
setne al
add eax, 1
or eax, 4
mov dword [esp + 0x40], eax
jmp case.default.0x49290f
mov dword [esp + 0x34], 0xff00ffff
jmp case.default.0x49290f
mov dword [esp + 0x34], 0xe700ffff
mov ecx, edx
and ecx, 0x30000
cmp ecx, 0x10000
je 0x4929b0
cmp ecx, 0x20000
je 0x49299a
cmp ecx, 0x30000
jne 0x4929b8
and dword [esp + 0x34], 0xdeffffff
test dl, 1
je 0x4929b8
and eax, 0xfffffffb
mov dword [esp + 0x40], eax
jmp 0x4929b8
and dword [esp + 0x34], 0xfeffffff
test dl, 1
je 0x4929b8
and eax, 0xfffffffb
mov dword [esp + 0x40], eax
jmp 0x4929b8
and dword [esp + 0x34], 0xdfffffff
cmp dword [esp + 0x18], ebp
je 0x493987
mov edx, dword [esp + 0x14]
movzx ecx, word [edx]
test cx, cx
mov esi, dword [esp + 0xa8]
jne 0x4929de
cmp esi, 0xfffffffe
je 0x493a20
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x10]
je 0x493a24
movzx ebx, word [edi]
test bx, bx
jne 0x492a03
cmp dword [esp + 0xb0], 0xfffffffe
je 0x493a24
cmp dword [esp + 0x20], 0xffffffff
jne 0x492a28
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xb4]
push edx
push eax
lea edx, [esp + 0x28]
call fcn.00491719
mov ecx, dword [esp + 0x34]
and dword [esp + 0x20], ecx
mov esi, dword [esp + 0x24]
cmp esi, 0xffffffff
jne 0x492a55
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xb4]
push edx
push eax
lea edx, [esp + 0x2c]
mov ecx, ebx
call fcn.00491719
mov esi, dword [esp + 0x24]
and esi, dword [esp + 0x34]
mov dword [esp + 0x24], esi
cmp dword [esp + 0x98], 0
je 0x492fb1
movzx eax, byte [esp + 0x23]
test al, 0xc0
jne 0x492a7a
mov ecx, esi
shr ecx, 0x18
test cl, 0xc0
je 0x492fb1
mov ebp, esi
and eax, 0xc0
shr ebp, 0x18
mov ebx, eax
and ebp, 0xc0
cmp ebx, ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x60], ebx
jg 0x492aa3
mov dword [esp + 0x60], ebp
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
je 0x492acb
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jne 0x492ac1
cmp dword [esp + 0xa8], 0xfffffffe
je 0x492acb
mov dword [esp + 0x4c], 0
jmp 0x492ad3
mov dword [esp + 0x4c], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
je 0x492af7
cmp word [edi + 2], 0
jne 0x492aed
cmp dword [esp + 0xb0], 0xfffffffe
je 0x492af7
mov dword [esp + 0x50], 0
jmp 0x492aff
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x20], 0
jne 0x492d10
mov eax, dword [esp + 0x60]
sub eax, 0x80
je 0x492be6
sub eax, 0x40
jne 0x492fb1
test ebx, ebx
je 0x492b4e
cmp dword [esp + 0x4c], 0
jne 0x492b4e
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
je 0x492b4e
mov edx, dword [esp + 0x14]
cmp word [edx + 4], 0
jne 0x492b7b
cmp dword [esp + 0xa8], 0xfffffffe
jne 0x492b7b
test ebp, ebp
je 0x492be6
cmp dword [esp + 0x50], 0
jne 0x492be6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffe
je 0x492be6
cmp word [edi + 4], 0
jne 0x492b7b
cmp dword [esp + 0xb0], 0xfffffffe
je 0x492be6
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
test ecx, ecx
mov eax, dword [eax + 0x2c]
jle 0x492be6
test ebx, ebx
je 0x492c2f
mov dx, word [eax]
mov edi, dword [esp + 0x14]
cmp dx, word [edi]
jne 0x492c2b
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x492c2b
mov dx, word [eax + 4]
cmp dx, word [edi + 4]
jne 0x492c2b
mov edx, dword [eax + 8]
and edx, dword [esp + 0x34]
sub dword [esp + 0x18], 2
add edi, 4
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jne 0x492c33
test ecx, ecx
mov dword [esp + 0x24], esi
jg 0x492fb1
test ebx, ebx
je 0x492bf1
cmp dword [esp + 0x4c], 0
je 0x492c04
test ebp, ebp
je 0x492fb1
cmp dword [esp + 0x50], 0
jne 0x492fb1
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x492fb1
test ebx, ebx
jne 0x492c83
test ebp, ebp
je 0x492fb1
jmp 0x492cc4
mov edi, dword [esp + 0x10]
test ebp, ebp
je 0x492c6c
mov dx, word [eax]
cmp dx, word [edi]
jne 0x492c6c
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x492c6c
mov dx, word [eax + 4]
cmp dx, word [edi + 4]
jne 0x492c6c
mov esi, dword [eax + 8]
and esi, dword [esp + 0x34]
sub dword [esp + 0x1c], 2
add edi, 4
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x10], edi
je 0x492bda
sub ecx, 1
add eax, 0xc
test ecx, ecx
jg 0x492b8d
mov dword [esp + 0x24], esi
jmp 0x492be6
mov dx, word [eax]
mov edi, dword [esp + 0x14]
cmp dx, word [edi]
jne 0x492cbc
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x492cbc
mov edx, dword [eax + 4]
and edx, dword [esp + 0x34]
sub dword [esp + 0x18], 1
add edi, 2
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
je 0x492fb1
jmp 0x492cc0
test ebp, ebp
je 0x492cf9
mov edi, dword [esp + 0x10]
mov dx, word [eax]
cmp dx, word [edi]
jne 0x492cfd
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x492cfd
mov esi, dword [eax + 4]
and esi, dword [esp + 0x34]
sub dword [esp + 0x1c], 1
add edi, 2
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
je 0x492fb1
jmp 0x492cfd
mov edi, dword [esp + 0x10]
sub ecx, 1
add eax, 8
test ecx, ecx
jg 0x492c1a
jmp 0x492fb1
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x28], 0
jne 0x492d48
mov esi, dword [esp + 0x14]
movzx edi, word [esi]
xor eax, eax
cmp di, word [esi + 2]
mov edi, dword [esp + 0x10]
sete al
test eax, eax
mov dword [esp + 0x28], eax
je 0x492d48
mov eax, esi
add eax, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x50], 0
mov dword [esp + 0x70], 0
jne 0x492d76
movzx esi, word [edi]
xor eax, eax
cmp si, word [edi + 2]
sete al
test eax, eax
mov dword [esp + 0x70], eax
je 0x492d76
add edi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x60]
sub eax, 0x80
je 0x492ecf
sub eax, 0x40
jne 0x492f8b
test ebx, ebx
je 0x492e26
cmp dword [esp + 0x4c], 0
jne 0x492e26
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x60], eax
je 0x492e26
mov edi, dword [esp + 0x14]
movzx esi, word [edi + 4]
test si, si
jne 0x492dc5
cmp dword [esp + 0xa8], 0xfffffffe
je 0x492e26
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
test ecx, ecx
mov eax, dword [eax + 0x2c]
jle 0x492e26
movzx edx, word [edi]
cmp word [eax], dx
jne 0x492df3
mov bx, word [eax + 2]
cmp bx, word [edi + 2]
jne 0x492def
cmp word [eax + 4], si
je 0x492dff
mov ebx, dword [esp + 0x44]
sub ecx, 1
add eax, 0xc
test ecx, ecx
jg 0x492dda
jmp 0x492e26
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
jne 0x492e20
mov edx, dword [esp + 0x60]
add edi, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
xor ebx, ebx
mov dword [esp + 0x44], ebx
test ebp, ebp
je 0x492ec9
cmp dword [esp + 0x50], 0
jne 0x492ec9
mov edi, dword [esp + 0x1c]
add edi, 0xfffffffe
je 0x492ec9
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 4]
test si, si
jne 0x492e5d
cmp dword [esp + 0xb0], 0xfffffffe
je 0x492ec9
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
test ecx, ecx
mov eax, dword [eax + 0x2c]
jle 0x492ec9
mov edx, dword [esp + 0x10]
movzx edx, word [edx]
cmp word [eax], dx
jne 0x492e9a
mov bp, word [eax + 2]
mov ebx, dword [esp + 0x10]
cmp bp, word [ebx + 2]
jne 0x492e8f
cmp word [eax + 4], si
je 0x492ea6
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x9c]
sub ecx, 1
add eax, 0xc
test ecx, ecx
jg 0x492e76
jmp 0x492ec9
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x70], 0
mov dword [esp + 0x24], eax
jne 0x492ec3
add ebx, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x44]
xor ebp, ebp
test ebx, ebx
jne 0x492ed3
jmp 0x492f2c
test ebx, ebx
je 0x492f2c
cmp dword [esp + 0x4c], 0
jne 0x492f2c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x492f2c
mov esi, dword [esp + 0x14]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x492f02
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x492f0e
sub ecx, 1
add eax, 8
test ecx, ecx
jg 0x492ef3
jmp 0x492f2c
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
jne 0x492f2c
add esi, 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
test ebp, ebp
je 0x492f8b
cmp dword [esp + 0x50], 0
jne 0x492f8b
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x24]
movzx ecx, word [edx + 8]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x492f8b
mov esi, dword [esp + 0x10]
movzx edx, word [esi]
lea ecx, [ecx]
cmp word [eax], dx
jne 0x492f61
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x492f6d
sub ecx, 1
add eax, 8
test ecx, ecx
jg 0x492f52
jmp 0x492f8b
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x70], 0
mov dword [esp + 0x24], eax
jne 0x492f8b
add esi, 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x10], esi
cmp dword [esp + 0x28], 0
je 0x492f9c
sub dword [esp + 0x14], 2
add dword [esp + 0x18], 1
cmp dword [esp + 0x70], 0
mov esi, dword [esp + 0x24]
je 0x492fb1
sub dword [esp + 0x10], 2
add dword [esp + 0x1c], 1
cmp dword [esp + 0x20], esi
je 0x49391d
mov dx, word [esp + 0x20]
mov al, byte [esp + 0x21]
mov ecx, dword [esp + 0x24]
movzx esi, dx
mov dword [esp + 0x50], esi
mov si, word [esp + 0x24]
movzx edi, si
shr ecx, 8
cmp dx, si
mov bl, al
mov byte [esp + 0x2f], bl
mov byte [esp + 0x4b], cl
mov dword [esp + 0x4c], edi
jne 0x492ffd
cmp al, 0xb
ja 0x4937fc
cmp al, 3
jb 0x4937fc
test al, al
mov edx, 2
mov esi, 1
jne 0x49301c
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
or eax, 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x49301f
or eax, 0xffffffff
test cl, cl
jne 0x49302f
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x64], 0
je 0x493058
cmp bl, 1
jne 0x493047
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 1
jne 0x493058
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x74], 0
je 0x493081
cmp bl, 6
jne 0x493070
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 6
jne 0x493081
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], eax
je 0x49397c
cmp dword [esp + 0x24], 0xffffffff
je 0x49397c
movzx eax, byte [esp + 0x2f]
add eax, 0xffffffff
cmp eax, 0xa
ja case.0x4930ae.3
movzx eax, byte [eax + 0x493b08]
jmp dword [eax*4 + 0x493af0]
cmp dword [esp + 0x64], 0
jne 0x4930d7
cmp dword [esp + 0x58], 0
je 0x4930ca
test byte [esp + 0x40], 2
je 0x4930d7
and dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x58], 3
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x4930ae.3
cmp dword [esp + 0x74], 0
je case.0x4930ae.3
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x4930ae.3
cmp dword [esp + 0x68], 0
je 0x49312e
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x4930ae.3
cmp dword [esp + 0x94], 0
jne case.0x4930ae.3
cmp cl, 6
je case.0x4930ae.3
cmp dword [esp + 0x5c], 0
je 0x493173
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x5c], 3
mov dword [esp + 0x68], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x4930ae.3
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x54], 3
mov dword [esp + 0x20], 0xffffffff
jmp case.0x4930ae.3
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x20]
add dword [esp + 0x18], 1
mov dword [esp + 0x84], ecx
mov ecx, dword [0x4aa400]
lea edx, [esp + 0x8c]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x28]
mov cx, word [edx + eax*4]
lea eax, [edx + eax*4]
mov dx, word [eax + 2]
mov word [esp + 0x8c], cx
mov word [esp + 0x8e], dx
mov dword [esp + 0x7c], 2
mov dword [esp + 0x20], 0xffffffff
jmp case.0x4930ae.3
mov ebx, dword [esp + 0x20]
mov al, byte [esp + 0x20]
shr ebx, 0x18
and bl, 0x3f
cmp al, 1
mov ecx, 0xffff0000
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], ecx
ja 0x493302
mov esi, dword [esp + 0x14]
lea eax, [esi - 2]
cmp eax, dword [esp + 0xa4]
jb 0x49332d
mov ebp, dword [esp + 0xb4]
mov edi, 2
add esi, 0xfffffffe
mov ecx, dword [esp + 0x3c]
push ecx
mov cx, word [esi]
push ebp
lea edx, [esp + 0x30]
call fcn.00491719
mov ecx, dword [esp + 0x28]
and ecx, dword [esp + 0x34]
mov eax, ecx
shr eax, 8
cmp al, 3
mov dword [esp + 0x28], ecx
jae 0x49326b
cmp al, 2
mov ecx, 0xffff0000
je 0x49332d
jmp 0x49327e
jne 0x4932f7
mov al, byte [esp + 0x28]
cmp al, 1
ja 0x49329c
mov ecx, 0xffff0000
mov edx, dword [esp + 0x14]
add edi, 2
sub edx, edi
sub esi, 2
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x28], ecx
jae 0x493235
jmp 0x49332d
movzx si, al
mov al, byte [esp + 0x2b]
and al, 0x3f
mov cl, al
and cl, 0xc6
mov byte [esp + 0x38], cl
mov cl, al
or si, 0x2200
and cl, 0xe4
cmp byte [esp + 0x20], 0
mov word [esp + 0x28], si
mov byte [esp + 0x3a], cl
jne 0x4932e1
movzx ecx, si
and al, 0xc5
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x39], 4
mov byte [esp + 0x3b], al
jmp 0x493334
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0xff87
mov dword [esp + 0x50], eax
mov byte [esp + 0x39], 5
jmp 0x493326
movzx edx, word [esp + 0x28]
mov dword [esp + 0x50], edx
jmp 0x49332d
movzx ax, al
or ax, 0x2200
movzx edx, ax
mov al, bl
and al, 0xc6
mov byte [esp + 0x38], al
mov al, bl
and al, 0xe4
mov dword [esp + 0x50], edx
mov byte [esp + 0x39], 3
mov byte [esp + 0x3a], al
and bl, 0xc5
mov byte [esp + 0x3b], bl
cmp byte [esp + 0x20], 1
ja 0x493350
cmp ecx, 0xffff0000
jne 0x493350
xor eax, eax
mov dword [esp + 0x50], 0xffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
jmp 0x49336d
mov eax, dword [esp + 0x20]
movzx ecx, word [esp + 0x50]
and eax, 0xffff0000
or eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x23], 2
cmp byte [esp + 0x4b], 3
je case.0x4930ae.3
cmp byte [esp + 0x30], 0
jne 0x493387
cmp byte [esp + 0x38], 0
je 0x493387
mov byte [esp + 0x30], 3
cmp byte [esp + 0x31], 0
jne 0x49339c
mov edx, eax
shr edx, 8
test dl, dl
je 0x49339c
mov byte [esp + 0x31], 3
cmp byte [esp + 0x32], 0
jne 0x4933b1
mov ecx, eax
shr ecx, 0x10
test cl, cl
je 0x4933b1
mov byte [esp + 0x32], 3
cmp byte [esp + 0x33], 0
jne case.0x4930ae.3
shr eax, 0x18
test al, al
je case.0x4930ae.3
mov byte [esp + 0x33], 3
movzx eax, byte [esp + 0x4b]
add eax, 0xffffffff
cmp eax, 0xa
ja case.0x4933dc.3
movzx edx, byte [eax + 0x493b2c]
jmp dword [edx*4 + 0x493b14]
cmp dword [esp + 0x64], 0
jne 0x493405
cmp dword [esp + 0x58], 0
je 0x4933f8
test byte [esp + 0x40], 2
je 0x493405
and dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x58], 1
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0xffffffff
jmp case.0x4933dc.3
cmp dword [esp + 0x74], 0
je case.0x4933dc.3
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0xffffffff
jmp case.0x4933dc.3
cmp dword [esp + 0x68], 0
je 0x49345c
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0xffffffff
jmp case.0x4933dc.3
cmp dword [esp + 0x94], 0
jne case.0x4933dc.3
cmp byte [esp + 0x2f], 6
je 0x49349d
cmp dword [esp + 0x54], 0
mov eax, 1
je 0x493483
mov dword [esp + 0x54], eax
jmp 0x4934eb
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x4933dc.3
cmp dword [esp + 0x54], 0
je 0x4934af
mov eax, 1
mov dword [esp + 0x54], eax
jmp 0x4934da
cmp dword [esp + 0x5c], 0
je 0x4934c0
mov dword [esp + 0x5c], 3
jmp 0x4934d5
movzx eax, byte [esp + 0x20]
cmp al, byte [esp + 0x24]
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov dword [esp + 0x54], eax
mov eax, 1
add dword [esp + 0x14], 2
sub dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xffffffff
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x4933dc.3
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x24]
add dword [esp + 0x1c], 1
mov dword [esp + 0x80], ecx
mov ecx, dword [0x4aa400]
lea edx, [esp + 0x90]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x28]
mov cx, word [edx + eax*4]
lea eax, [edx + eax*4]
mov dx, word [eax + 2]
mov word [esp + 0x90], cx
mov word [esp + 0x92], dx
mov dword [esp + 0x78], 2
mov dword [esp + 0x24], 0xffffffff
jmp case.0x4933dc.3
mov ebx, dword [esp + 0x24]
mov al, byte [esp + 0x24]
shr ebx, 0x18
and bl, 0x3f
cmp al, 1
mov ecx, 0xffff0000
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], ecx
ja 0x4936b2
mov esi, dword [esp + 0x10]
lea eax, [esi - 2]
cmp eax, dword [esp + 0xac]
jb 0x4935d4
mov ebp, dword [esp + 0xb4]
mov edi, 2
add esi, 0xfffffffe
mov ecx, dword [esp + 0x3c]
push ecx
mov cx, word [esi]
push ebp
lea edx, [esp + 0x4c]
call fcn.00491719
mov ecx, dword [esp + 0x44]
and ecx, dword [esp + 0x34]
mov eax, ecx
shr eax, 8
cmp al, 3
mov dword [esp + 0x44], ecx
jae 0x49360a
cmp al, 2
mov ecx, 0xffff0000
jne 0x49361d
mov dl, byte [esp + 0x28]
cmp byte [esp + 0x24], 1
ja 0x4936e3
cmp ecx, 0xffff0000
jne 0x4936e3
xor esi, esi
mov dword [esp + 0x28], esi
mov dl, byte [esp + 0x28]
mov dword [esp + 0x4c], 0xffff
mov dword [esp + 0x24], ecx
jmp 0x493701
jne 0x4936a4
mov al, byte [esp + 0x44]
cmp al, 1
ja 0x49363c
mov ecx, 0xffff0000
mov edx, dword [esp + 0x10]
add edi, 2
sub edx, edi
sub esi, 2
cmp edx, dword [esp + 0xac]
mov dword [esp + 0x44], ecx
jae 0x4935a4
jmp 0x4935d4
movzx si, al
mov al, byte [esp + 0x47]
and al, 0x3f
mov dl, al
mov cl, al
or si, 0x2200
and dl, 0xc6
and cl, 0xe4
cmp byte [esp + 0x24], 0
mov word [esp + 0x44], si
mov byte [esp + 0x28], dl
mov byte [esp + 0x2a], cl
jne 0x493684
movzx ecx, si
and al, 0xc5
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x29], 4
mov byte [esp + 0x2b], al
jmp 0x4935e3
mov ecx, dword [esp + 0x44]
mov eax, ecx
and eax, 0xff87
and bl, 0xc5
mov dword [esp + 0x4c], eax
mov byte [esp + 0x29], 5
mov byte [esp + 0x2b], bl
jmp 0x4935d8
movzx edx, word [esp + 0x44]
mov dword [esp + 0x4c], edx
jmp 0x4935d4
movzx ax, al
or ax, 0x2200
movzx edx, ax
mov dword [esp + 0x4c], edx
mov dl, bl
mov al, bl
and dl, 0xc6
and al, 0xe4
and bl, 0xc5
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 3
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
jmp 0x4935d8
mov ecx, dword [esp + 0x24]
movzx eax, word [esp + 0x4c]
mov esi, dword [esp + 0x28]
and ecx, 0xffff0000
or ecx, eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x27], 2
cmp byte [esp + 0x2f], 3
je 0x49375d
cmp byte [esp + 0x30], 0
jne 0x493718
test dl, dl
je 0x493718
mov byte [esp + 0x30], 1
cmp byte [esp + 0x31], 0
jne 0x49372d
mov ecx, esi
shr ecx, 8
test cl, cl
je 0x49372d
mov byte [esp + 0x31], 1
cmp byte [esp + 0x32], 0
jne 0x493742
mov edx, esi
shr edx, 0x10
test dl, dl
je 0x493742
mov byte [esp + 0x32], 1
cmp byte [esp + 0x33], 0
jne case.0x4933dc.3
mov eax, esi
shr eax, 0x18
test al, al
je case.0x4933dc.3
mov byte [esp + 0x33], 1
jmp case.0x4933dc.3
cmp byte [esp + 0x30], 0
jne 0x493777
mov al, byte [esp + 0x38]
cmp al, dl
je 0x493777
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x30], al
cmp byte [esp + 0x31], 0
jne 0x493796
mov cl, byte [esp + 0x39]
mov eax, esi
shr eax, 8
cmp cl, al
je 0x493796
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x31], al
cmp byte [esp + 0x32], 0
jne 0x4937b5
mov cl, byte [esp + 0x3a]
mov eax, esi
shr eax, 0x10
cmp cl, al
je 0x4937b5
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x32], al
cmp byte [esp + 0x33], 0
jne case.0x4933dc.3
mov cl, byte [esp + 0x3b]
mov eax, esi
shr eax, 0x18
cmp cl, al
je case.0x4933dc.3
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x33], al
or eax, 0xffffffff
cmp dword [esp + 0x20], eax
je 0x49397c
cmp dword [esp + 0x24], eax
je 0x49397c
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
cmp cx, ax
jne 0x493a0b
test byte [esp + 0x40], 3
je 0x4938f0
mov al, byte [esp + 0x22]
mov cl, byte [esp + 0x26]
cmp al, cl
mov byte [esp + 0x2f], al
mov bl, cl
je 0x4938f0
mov ecx, dword [esp + 0x18]
add ecx, 0xffffffff
je 0x49387b
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x14]
lea ebx, [ebx]
movzx ecx, word [esi + 2]
test cx, cx
jne 0x49384a
cmp dword [esp + 0xa8], 0xfffffffe
je 0x493873
mov edx, dword [esp + 0x3c]
push edx
push ebp
lea edx, [esp + 0x74]
call fcn.00491719
cmp byte [esp + 0x6d], 1
jne 0x493873
mov al, byte [esp + 0x6e]
add byte [esp + 0x2f], al
sub edi, 1
add esi, 2
cmp edi, 1
jne 0x493837
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
je 0x4938d6
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
lea esp, [esp]
movzx ecx, word [esi + 2]
test cx, cx
jne 0x4938a9
cmp dword [esp + 0xb0], 0xfffffffe
je 0x4938ce
mov edx, dword [esp + 0x3c]
push edx
push ebp
lea edx, [esp + 0x74]
call fcn.00491719
cmp byte [esp + 0x6d], 1
jne 0x4938ce
add bl, byte [esp + 0x6e]
sub edi, 1
add esi, 2
cmp edi, 1
jne 0x493896
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
movzx eax, byte [esp + 0x2f]
cmp al, bl
je 0x4938f0
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
and dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x58], eax
test byte [esp + 0x40], 4
je 0x49391d
movzx eax, byte [esp + 0x27]
mov cl, byte [esp + 0x23]
and al, 0x3f
and cl, 0x3f
cmp cl, al
je 0x49391d
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
and dword [esp + 0x40], 0xfffffffb
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
xor ecx, ecx
cmp eax, ecx
mov edx, 1
je 0x493940
sub dword [esp + 0x7c], edx
jne 0x493940
mov dword [esp + 0x14], eax
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x80]
cmp eax, ecx
je 0x49395c
sub dword [esp + 0x78], edx
jne 0x49395c
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], ecx
sub dword [esp + 0x18], edx
sub dword [esp + 0x1c], edx
mov eax, 2
add dword [esp + 0x14], eax
add dword [esp + 0x10], eax
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x18], 0
jne 0x4929c2
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x493a49
cmp word [edi], 0
jne 0x4939ab
cmp dword [esp + 0xb0], 0xfffffffe
je 0x493a49
mov esi, dword [esp + 0xb0]
mov edx, edi
mov eax, 1
mov edi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0xb8]
push edi
mov edi, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0x90]
push edi
mov edi, dword [esp + 0x84]
push edi
lea edi, [esp + 0x44]
push edi
push eax
push esi
call fcn.0049268f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x14
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebp
add eax, 3
pop ebx
add esp, 0x90
ret 0x14
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49398b
cmp word [edx], 0
jne 0x493a3f
cmp esi, 0xfffffffe
je 0x49398b
mov eax, 3
jmp 0x4939b9
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x493ac4
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x493ac4
cmp dword [esp + 0x30], eax
je 0x493a98
cmp dword [esp + 0x64], eax
jne 0x493a88
mov al, byte [esp + 0x30]
test al, al
je 0x493a80
pop edi
pop esi
pop ebp
movzx eax, al
pop ebx
add esp, 0x90
ret 0x14
mov al, byte [esp + 0x31]
test al, al
jne 0x493a70
mov al, byte [esp + 0x32]
test al, al
jne 0x493a70
mov al, byte [esp + 0x33]
test al, al
jne 0x493a70
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x493ac4
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x493ac4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x90
ret 0x14
push 0x57
call dword [sym.imp.kernel32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x14