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

Disassembly:
mov eax, 0xaf70
call fcn.005865a0
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0xaf6c], eax
mov eax, dword [esp + 0xaf78]
push ebx
push ebp
mov ebp, dword [esp + 0xaf7c]
push esi
push edi
or ebx, 0xffffffff
mov dword [esp + 0x2c], eax
xor eax, eax
push 1
lea esi, [ebp + 0x14]
push 0x490240
mov dword [esp + 0x78], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x9c], eax
mov byte [esp + 0x2a], al
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov word [esp + 0x88], ax
call fcn.00576a30
movsx edx, word [esi + 0x1a7]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x9c]
mov dword [esp + 0xa8], ecx
push edx
lea edi, [esp + 0xa988]
mov ecx, esi
call fcn.004907c0
push 0
lea eax, [esp + 0x58]
lea edi, [esp + 0x6c]
call fcn.00490ae0
push 0
push ebx
lea eax, [esp + 0x90]
push eax
push esi
call fcn.00485260
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x493642
cmp dword [esp + 0x48], eax
je 0x493588
push 1
push 1
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xdc]
push edi
push ecx
call fcn.0047d840
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x493642
push 1
push 1
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xd4]
push edi
push edx
call fcn.0047d840
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x493642
mov eax, dword [esp + 0x40]
push eax
push ebp
call fcn.00496e60
mov edi, eax
add esp, 8
test edi, edi
jne 0x493642
mov al, byte [ebp + 0x12]
mov byte [esp + 0x22], 1
mov byte [esp + 0x3b], al
test al, al
jne 0x4936d4
push 1
push 1
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xcc]
push edi
push ecx
call fcn.0047d840
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x493642
mov eax, dword [ebp + 0xc]
movsx edx, word [eax + 8]
push eax
mov eax, dword [edx*4 + 0x62bb88]
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
mov esi, dword [esp + 0xa0]
mov ebx, dword [esi + 4]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x493680
mov ecx, dword [esp + 0x34]
push 0
push 0
push ebx
push ecx
call fcn.0047d3b0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov eax, dword [ebp + 0xc]
movsx edx, word [eax + 8]
push eax
mov eax, dword [edx*4 + 0x62bb88]
call eax
mov edi, eax
add esp, 4
test edi, edi
je 0x493605
push 0x2044
push 0
call fcn.00406f10
add esp, 8
test edi, edi
jle 0x49365d
cmp edi, 0x1388
jl 0x493679
cmp byte [esp + 0xaf8c], 0
jne 0x4941f9
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 4], 1
jle 0x4941f9
mov bl, 1
jmp 0x4941fb
push ebp
call fcn.00496fc0
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
mov ecx, dword [esp + 0x34]
push ecx
mov byte [esp + 0x26], al
call fcn.0047d800
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xc4]
push edx
call fcn.0047d8e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
jmp 0x4936d8
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0
mov dword [eax], 0
or eax, 0xffffffff
cmp dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
jle 0x493cbc
lea ebx, [ebx]
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
sete cl
mov byte [esp + 0x16], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x13], cl
test cl, cl
jne 0x493767
mov ecx, eax
imul eax, eax, 0xaf
imul ecx, ecx, 0x2d
add ecx, dword [esp + 0x7e]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx + 0x1a9]
cmp dword [eax + 0x88], 0xffffffff
mov dl, byte [eax + 0x9a]
mov cl, byte [eax + 0x9b]
mov dword [esp + 0x58], eax
mov byte [esp + 0x1a], dl
mov byte [esp + 0x23], cl
jne 0x493ca9
mov cl, byte [esp + 0x13]
jmp 0x49377f
mov esi, dword [esp + 0x1c]
mov dl, byte [esi + 0x1bb]
mov al, byte [esi + 0x1ba]
mov byte [esp + 0x1a], dl
mov byte [esp + 0x23], al
xor ebp, ebp
xor edx, edx
xor esi, esi
mov word [esp + 0xad4], bp
mov word [esp + 0x6d0], dx
mov word [esp + 0xed8], si
test cl, cl
je 0x4937ae
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x19d]
jmp 0x4937bf
movsx ecx, byte [esp + 0x1a]
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x15]
sub eax, ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x4938c7
xor edx, edx
xor edi, edi
cmp byte [esp + 0x13], 0
je 0x4937e8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1a3]
lea eax, [eax + edi + 4]
jmp 0x4937f4
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x19]
add eax, edx
cmp byte [esp + 0x13], 0
mov ebx, dword [eax]
mov dword [esp + edx + 0xd0], ebx
mov ax, word [eax + 4]
mov word [esp + edx + 0xd4], ax
je 0x493821
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1a3]
movzx eax, word [eax + edi + 0xe]
jmp 0x493859
mov eax, dword [esp + 0x28]
dec eax
cmp ecx, eax
jl 0x49384b
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x9c], 0
je 0x49384b
cmp byte [esp + 0x23], 0
jne 0x493873
mov eax, dword [esp + 0xed8]
inc eax
movzx eax, ax
jmp 0x493859
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xa7]
movzx eax, word [eax + ecx*2]
test ax, ax
jle 0x493873
cwde
inc si
mov word [esp + eax*2 + 0xab7a], cx
mov word [esp + 0xed8], si
jmp 0x4938b2
cmp word [esp + edx + 0xd0], 0xd
jne 0x49389d
mov ax, word [esp + 0x6d0]
movsx ebx, ax
inc ax
mov word [esp + ebx*2 + 0xa77c], cx
mov word [esp + 0x6d0], ax
jmp 0x4938b2
movsx eax, bp
inc bp
mov word [esp + eax*2 + 0xad7c], cx
mov word [esp + 0xad4], bp
inc ecx
add edi, 0x2a
add edx, 6
cmp ecx, dword [esp + 0x28]
jl 0x4937d1
mov ebx, dword [esp + 0x44]
cmp byte [esp + 0x1a], 0
jne 0x4938fa
lea ecx, [esp + 0xed8]
push ecx
lea edx, [esp + 0xab80]
push edx
lea eax, [esp + 0xd8]
movsx ecx, si
push eax
push ecx
call fcn.00497180
mov bp, word [esp + 0xae4]
add esp, 0x10
lea edx, [esp + 0xad4]
push edx
lea eax, [esp + 0xad80]
push eax
lea ecx, [esp + 0xd8]
movsx edx, bp
push ecx
push edx
call fcn.00497180
movsx eax, word [esp + 0x6e0]
add esp, 0x10
mov dword [esp + 0x64], eax
test eax, eax
je 0x49394f
lea ecx, [esp + 0x6d0]
push ecx
lea edx, [esp + 0xa780]
push edx
lea ecx, [esp + 0xd8]
push ecx
push eax
call fcn.00497180
add esp, 0x10
cmp byte [esp + 0x13], 0
je 0x493961
mov eax, dword [esp + 0x1c]
add eax, 0x195
jmp 0x493968
mov eax, dword [esp + 0x58]
sub eax, 0xffffff80
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x1154]
mov edx, dword [esp + 0x1c]
push ecx
add edx, 0x195
push edx
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x40]
push ecx
push 2
push eax
call fcn.00471fe0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x493642
cmp byte [esp + 0x13], al
jne 0x4939da
lea edx, [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.0047d8e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x1b], 1
mov esi, dword [esp + 0x24]
cmp byte [esp + 0x16], 0
je 0x493a09
cmp byte [esp + 0x19], 0
jne 0x493bc3
cmp byte [esp + 0x1b], 0
jne 0x493a34
cmp byte [esp + 0x16], 0
jne 0x493af7
cmp byte [esp + 0x18], 0
jne 0x493a34
cmp byte [esp + 0x17], 0
jne 0x493a34
cmp byte [esp + 0x14], 0
je 0x493af7
cmp byte [esp + 0x13], 0
je 0x493a87
cmp byte [esp + 0x3b], 0
je 0x493a87
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xc]
movsx ecx, word [eax + 8]
mov edx, dword [ecx*4 + 0x62bb88]
push eax
call edx
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
mov eax, dword [esp + 0xa0]
mov ebx, dword [eax + 4]
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x493ae5
mov ecx, dword [esp + 0x70]
push ecx
mov byte [esp + 0x1a], 1
call fcn.00496fc0
jmp 0x493ace
mov eax, dword [esp + 0x34]
push 0
lea edx, [esp + 0x40]
push edx
push 0
push eax
call fcn.0047d110
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
cmp dword [esp + 0x3c], 0x1e
jne 0x493add
mov ecx, dword [esp + 0xa8]
mov ebx, dword [ecx]
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x493ae5
mov edx, dword [esp + 0x34]
push edx
mov byte [esp + 0x1a], 1
call fcn.0047d8a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
jmp 0x493aec
xor ebx, ebx
mov dword [esp + 0x44], ebx
jmp 0x493abf
mov eax, dword [esp + 0x2c]
inc dword [eax + 4]
cmp byte [esp + 0x1b], 0
jne 0x493b1a
mov esi, dword [esp + 0x24]
cmp byte [esp + 0x19], 0
jne 0x493b5d
cmp byte [esp + 0x18], 0
jne 0x493b1a
cmp byte [esp + 0x17], 0
jne 0x493b1a
cmp byte [esp + 0x15], 0
jne 0x493b1a
cmp byte [esp + 0x14], 0
je 0x493b5d
mov ecx, dword [esp + 0x30]
push 0
lea eax, [esp + 0x40]
push eax
push 0
push 1
push ecx
call fcn.00449210
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x493642
cmp dword [esp + 0x3c], 0x1e
jne 0x493cf0
mov edx, dword [esp + 0xb0]
mov esi, dword [edx]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x493b5d
mov byte [esp + 0x19], 1
cmp byte [esp + 0x13], 0
mov dl, byte [esp + 0x16]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
je 0x493bb0
test dl, dl
jne 0x493bb0
mov ecx, dword [esp + 0x94]
add ecx, 0xffffffff
js 0x493bb0
movsx eax, word [esp + ecx*2 + 0xa97c]
mov di, word [ebx + eax*2]
cmp di, word [ebx + eax*2 + 2]
lea eax, [ebx + eax*2]
je 0x4941a3
sub ecx, 1
jns 0x493b91
cmp byte [esp + 0x19], 0
je 0x493cfb
test dl, dl
je 0x493d94
cmp byte [esp + 0x13], 0
je 0x493c8d
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1154]
mov eax, dword [esp + 0x1c]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x80]
push edx
push eax
call fcn.00485630
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
cmp dword [esp + 0x48], eax
je 0x493c8d
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x1154]
mov ecx, dword [esp + 0x54]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.0045ff80
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x493642
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1154]
mov edx, dword [esp + 0x1c]
push ecx
push edi
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.004606e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0047d8a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
mov edx, dword [esp + 0x4c]
push edx
call fcn.0047d8a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x493ca9
push eax
call fcn.00471b10
mov edi, eax
add esp, 4
test edi, edi
jne 0x493642
mov eax, dword [esp + 0x60]
inc eax
cmp eax, dword [esp + 0x68]
mov dword [esp + 0x60], eax
jl 0x493700
lea ecx, [esp + 0x78]
push ecx
call fcn.004849f0
push 0
push 0x490240
call fcn.00576a30
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0xaf7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00586584
add esp, 0xaf70
ret
xor esi, esi
mov dword [esp + 0x24], esi
jmp 0x493b58
test dl, dl
je 0x493d09
mov byte [esp + 0x15], 1
jmp 0x494092
cmp byte [esp + 0x1a], 0
jne 0x493d2c
lea ecx, [esp + 0x3a]
push ecx
lea edx, [esp + 0xedc]
push edx
mov eax, edx
push eax
push esi
push ebx
call fcn.00577ef0
add esp, 0x14
jmp 0x493d90
mov ecx, dword [esp + 0x28]
movzx eax, word [ebx + ecx*2]
cmp ax, word [ebx + ecx*2 + 2]
jne 0x493d3f
xor ebp, ebp
jmp 0x493d44
movsx ebp, ax
add ebp, ebx
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0xab80]
push eax
mov ecx, 0xffc
push esi
mov word [esp + 0x9688], cx
lea ecx, [esp + 0x9688]
push 0
push ecx
call fcn.0050cd00
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x493642
lea edx, [esp + 0x967c]
push edx
push ebp
call fcn.00584360
mov esi, dword [esp + 0x2c]
add esp, 8
test eax, eax
jge 0x493d9e
mov byte [esp + 0x14], 1
jmp 0x493fdd
jle 0x493daa
mov byte [esp + 0x15], 1
jmp 0x494092
lea eax, [esp + 0x3a]
push eax
lea ecx, [esp + 0xad8]
push ecx
mov edx, ecx
push edx
push esi
push ebx
call fcn.00577ef0
add esp, 0x14
cmp dword [esp + 0x64], 0
mov ebp, eax
je 0x493e16
lea eax, [esp + 0xb4]
push eax
movsx eax, word [esp + 0x6d4]
lea ecx, [esp + 0xa680]
push ecx
lea edx, [esp + 0xa784]
push edx
push eax
push esi
push ebx
lea edi, [esp + 0xbc]
call fcn.00490830
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x493642
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x24]
jmp 0x493e1f
xor eax, eax
mov dword [esp + 0xa4], eax
test ebp, ebp
jne 0x493e3b
test eax, eax
jne 0x493e3b
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov byte [esp + 0x18], 1
mov dword [esp + 0x5c], edx
jmp 0x494123
jl 0x493e44
mov byte [esp + 0x15], 1
jmp 0x493e49
mov byte [esp + 0x14], 1
cmp byte [esp + 0x23], 0
je 0x493fd2
cmp dword [esp + 0x64], 0
jne 0x493e64
mov dword [esp + 0x6c], ebx
jmp 0x493f13
mov ebp, dword [esp + 0x28]
movsx edi, word [esp + 0x6d0]
xor eax, eax
test ebp, ebp
jle 0x493ea0
jmp 0x493e80
movzx ecx, word [ebx + eax*2]
cmp cx, word [ebx + eax*2 + 2]
jne 0x493e8f
xor ecx, ecx
jmp 0x493e94
movsx ecx, cx
add ecx, ebx
mov dword [esp + eax*4 + 0x12dc], ecx
inc eax
cmp eax, ebp
jl 0x493e80
xor edx, edx
test edi, edi
jle 0x493ed9
movzx eax, word [esp + edx*2 + 0xa77c]
cwde
cmp byte [esp + eax + 0xa67c], 0
jne 0x493ed4
movzx ecx, word [esi + eax*2]
cmp cx, word [esi + eax*2 + 2]
jne 0x493ec8
xor ecx, ecx
jmp 0x493ecd
movsx ecx, cx
add ecx, esi
mov dword [esp + eax*4 + 0x12dc], ecx
inc edx
cmp edx, edi
jl 0x493ea6
lea eax, [esp + 0x16dc]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x12e4]
push edx
push ebp
call fcn.005789e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x16dc]
mov dword [esp + 0x6c], eax
cmp byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 1
je 0x493f8c
cmp dword [esp + 0x64], 0
je 0x493f8c
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xa67c]
push ecx
lea edx, [esp + 0xd4]
push edx
push eax
push esi
call fcn.00490f20
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x1b5]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xa680]
push eax
lea ecx, [esp + 0xd8]
push ecx
push edx
mov edx, ebx
call fcn.00490b40
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.004499a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x493642
cmp byte [esp + 0x13], al
je 0x493fb9
mov eax, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
inc dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
jmp 0x49411f
cmp byte [esp + 0x14], 0
je 0x494087
cmp byte [esp + 0x13], 0
je 0x494018
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x1b5]
mov edx, dword [esp + 0x28]
push eax
push 0
lea ecx, [esp + 0xd8]
push ecx
push edx
mov edx, ebx
call fcn.00490b40
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov eax, dword [esp + 0x2c]
inc dword [eax]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
push 0
push ebx
push ecx
call fcn.00449650
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
cmp dword [esp + 0x3c], 0x20
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov dword [esp + 0x98], eax
jne 0x4941d5
cmp byte [esp + 0x13], 0
je 0x49407b
cmp dword [esp + 0x48], edi
je 0x49407b
push edi
push eax
call fcn.0048f100
push eax
mov eax, dword [esp + 0x5c]
push eax
call fcn.0047d3b0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
inc dword [esp + 0x90]
jmp 0x49411f
cmp byte [esp + 0x15], 0
je 0x494123
cmp byte [esp + 0x13], 0
je 0x4940c1
mov edx, dword [esp + 0x28]
push 0
lea ecx, [esp + 0xd4]
push ecx
push edx
push esi
call fcn.00490f20
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
mov eax, dword [esp + 0x2c]
inc dword [eax]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb0]
push ecx
push 0
push 3
push edx
call fcn.00449c10
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x493642
cmp byte [esp + 0x13], al
je 0x49411b
cmp dword [esp + 0x48], eax
je 0x49411b
push eax
mov eax, dword [esp + 0xb0]
push eax
call fcn.0048f100
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.0047d3b0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x493642
inc dword [esp + 0x54]
mov esi, dword [esp + 0x24]
cmp byte [esp + 0x13], 0
je 0x4939f7
cmp byte [esp + 0x14], 0
jne 0x49414d
cmp byte [esp + 0x17], 0
jne 0x49414d
cmp byte [esp + 0x18], 0
je 0x4939f7
mov ecx, dword [esp + 0x5c]
jmp 0x494161
cmp byte [esp + 0x18], 0
je 0x49415a
mov ecx, dword [esp + 0x5c]
jmp 0x494161
mov ecx, dword [esp + 0x98]
cmp byte [esp + 0x14], 0
je 0x49416c
mov eax, ebx
jmp 0x494179
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x6c]
jne 0x494179
mov eax, esi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push eax
call fcn.004844d0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x493642
jmp 0x4939f3
movsx eax, word [esp + ecx*2 + 0xa97c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
inc eax
push eax
mov eax, dword [edx + 4]
add ecx, 0x13
push ecx
push eax
mov edi, 0x23bc
push 0x2044
push edi
call fcn.00406f10
add esp, 0x14
jmp 0x49365d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
add ecx, 0x13
push ecx
push eax
push 0x2044
push 0
call fcn.00406f10
add esp, 0x10
jmp 0x49365d
xor bl, bl
push 0
push 0x490240
call fcn.00576a30
mov esi, dword [esp + 0x70]
add esp, 8
add esi, 0xffffffff
js 0x49423e
mov ebp, esi
imul ebp, ebp, 0x2d
jmp 0x494220
mov edx, dword [esp + 0x7e]
mov eax, dword [edx + ebp + 8]
cmp eax, 0xffffffff
je 0x494236
push eax
call fcn.0047d8a0
add esp, 4
dec esi
sub ebp, 0x2d
test esi, esi
jge 0x494220
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x494250
push eax
call fcn.0047d8a0
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
je 0x494262
push eax
call fcn.0047d8a0
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x494274
push eax
call fcn.0047d8a0
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x494286
push eax
call fcn.00471b10
add esp, 4
cmp byte [esp + 0x22], 0
je 0x4942bd
test bl, bl
je 0x4942a0
mov eax, dword [str.public]
mov dword [eax + 0x143], 1
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00496fc0
mov edx, dword [str.public]
add esp, 4
mov dword [edx + 0x143], 0
lea eax, [esp + 0x78]
push eax
call fcn.004849f0
add esp, 4
mov eax, edi
jmp 0x493cd7