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

Disassembly:
push 0xffffffffffffffff
push 0x567ad9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59d464]
mov dx, word [0x59d46c]
mov esi, ecx
mov ecx, dword [0x59d468]
mov dword [esp + 0x80], eax
mov eax, dword [0x5a5754]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x5a5758]
mov word [esp + 0x88], dx
mov dx, word [0x5a575c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x5a574c]
mov dword [esp + 0x68], eax
mov eax, dword [0x5a5748]
mov word [esp + 0x70], dx
mov dx, word [0x5a5750]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x5a5740]
mov dword [esp + 0x8c], eax
mov eax, dword [0x5a573c]
mov word [esp + 0x94], dx
mov dx, word [0x5a5744]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x5a5734]
mov dword [esp + 0x74], eax
mov eax, dword [str._b_K52B27L]
mov word [esp + 0x7c], dx
mov dx, word [0x5a5738]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x5a5728]
mov dword [esp + 0x44], eax
mov eax, dword [str._b_901029]
mov word [esp + 0x4c], dx
mov dx, word [0x5a572c]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x5a571c]
mov dword [esp + 0x50], eax
mov eax, dword [0x5a5718]
mov word [esp + 0x58], dx
mov dx, word [0x5a5720]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0x5c], eax
mov word [esp + 0x64], dx
mov byte [esp + 0x17], 1
call fcn.00472a50
push 6
push 0x59c0fc
lea ecx, [esp + 0x24]
mov dword [esp + 0x178], 0
call fcn.005318a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call fcn.00534d70
mov ebx, 2
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.00497810
mov eax, dword [esp + 0x178]
and eax, 0xff
sub eax, 0
je 0x496629
dec eax
jne 0x49696a
lea eax, [esi + 0x30]
push 0xff
push eax
lea eax, [esp + 0x94]
lea ecx, [esi + 0x9c]
push eax
call fcn.00455340
test ax, ax
jne 0x496491
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x59b920
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x59b968
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0
call fcn.00531940
lea ecx, [esp + 0xac]
mov dword [esp + 0x170], 0xffffffff
call fcn.00472ae0
xor ax, ax
jmp 0x4969ae
movzx di, byte [esi + 0x33]
push ecx
dec edi
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x5a56e8
call fcn.005318a0
mov ecx, dword [0x5c663c]
call fcn.00534ea0
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x5a5710
call fcn.005318a0
push ebp
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x5a5708
call fcn.005318a0
push ebp
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push ebx
lea ecx, [esp + 0x28]
call fcn.005359b0
push 1
push edi
lea ecx, [esp + 0x2c]
call fcn.00535aa0
lea ecx, [esp + 0x22]
push 1
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [0x5c663c]
push edx
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x10], eax
je 0x49696a
mov al, byte [esp + 0x22]
push 0
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
inc al
push 6
push 0x59b910
mov byte [esp + 0x74], al
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x59cd64
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
cmp ax, 4
jne 0x4965e5
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0
call fcn.00531940
lea ecx, [esp + 0xac]
mov dword [esp + 0x170], 0xffffffff
call fcn.00472ae0
xor ax, ax
jmp 0x4969ae
lea eax, [esi + 0x30]
push 0xff
lea ecx, [esp + 0x60]
push eax
push ecx
lea ecx, [esi + 0x9c]
call fcn.00455340
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 0xa
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x49694d
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x59ce5c
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
lea ebp, [esi + 0x30]
lea edi, [esi + 0x9c]
push 0xff
lea edx, [esp + 0x6c]
push ebp
push edx
mov ecx, edi
call fcn.00455340
cmp ax, 0x12
jl 0x4966bf
mov eax, dword [esi + 0x33]
mov ecx, dword [esi + 0x37]
mov edx, dword [esi + 0x3b]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x3f]
mov dword [esp + 0x9c], ecx
mov cl, byte [esi + 0x43]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov byte [esp + 0xa8], cl
lea ecx, [esp + 0xac]
call fcn.00476cd0
lea ecx, [esp + 0xac]
call fcn.00476c30
push 0x241
mov ecx, edi
call fcn.004561f0
push 0xff
lea edx, [esp + 0x84]
push ebp
push edx
mov ecx, edi
call fcn.00455340
test ax, ax
jne 0x49675a
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 4
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x5a5700
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
push 0x246
mov ecx, edi
call fcn.004561f0
jmp 0x4965a4
push 0xff
lea ecx, [esp + 0x6c]
push ebp
push ecx
mov ecx, edi
call fcn.00455340
cmp ax, 0x12
jge 0x49680f
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x5a5700
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x20]
push 0x246
mov ecx, edi
call fcn.004561f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0
call fcn.00531940
lea ecx, [esp + 0xac]
mov dword [esp + 0x170], 0xffffffff
call fcn.00472ae0
xor ax, ax
jmp 0x4969ae
mov eax, dword [esi + 0x33]
mov ecx, dword [esi + 0x37]
mov edx, dword [esi + 0x3b]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x3f]
mov dword [esp + 0x34], ecx
mov cl, byte [esi + 0x43]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov byte [esp + 0x40], cl
xor eax, eax
movsx ecx, ax
mov dl, byte [esp + ecx + 0x98]
cmp dl, byte [esp + ecx + 0x30]
jne 0x49684d
inc eax
cmp ax, 0x11
jl 0x496834
jmp 0x496852
mov byte [esp + 0x17], 0
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
push 0x246
mov ecx, edi
call fcn.004561f0
mov ecx, esi
call fcn.00497810
mov al, byte [esp + 0x17]
test al, al
je 0x4968be
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x5a56f8
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
jmp 0x496971
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ax, word [esp + 0x38]
mov dword [esp + 0x79], ecx
mov cl, byte [esp + 0x3a]
mov dword [esp + 0x46], edx
mov edx, dword [esp + 0x3b]
mov byte [esp + 0x4c], cl
mov cl, byte [esp + 0x41]
mov dword [esp + 0x52], edx
mov word [esp + 0x4a], ax
mov ax, word [esp + 0x3f]
push 1
lea edx, [esp + 0x78]
mov byte [esp + 0x5c], cl
push ebp
push edx
mov ecx, edi
mov word [esp + 0x62], ax
call fcn.00455340
push 0
lea eax, [esp + 0x48]
push ebp
push eax
mov ecx, edi
call fcn.00455340
push 1
lea ecx, [esp + 0x54]
push ebp
push ecx
mov ecx, edi
call fcn.00455340
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x180], 7
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x59d34c
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x180], bl
call fcn.00533b90
mov ecx, esi
call fcn.0047de70
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0
call fcn.00531940
lea ecx, [esp + 0xac]
mov dword [esp + 0x170], 0xffffffff
call fcn.00472ae0
mov ax, 1
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x164
ret 8