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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov eax, dword [ebp + 0x20]
mov edi, 6
test eax, eax
js 0x405b33
mov edi, eax
mov eax, esi
or eax, ebx
jne 0x405b4a
xor ecx, ecx
cmp dword [ebp + 0x14], 0
je 0x405b4e
mov eax, edi
and eax, 0x400
jne 0x405b4e
mov cx, 8
test edi, 0x10000
mov dword [esp + 8], ebx
jne 0x405b63
movzx ecx, cx
or ecx, 0x800
mov dword [esp + 0x8c], ecx
mov eax, edi
and eax, 0xf
mov dword [esp + 0x24], eax
sete bl
mov eax, edi
xor eax, 0xfffffbff
mov ecx, edi
or ecx, 0x400
test ecx, eax
setne al
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x405c4e
cmp dword [edx + 0x14], 2
jne 0x405c4e
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
je 0x405bbf
test ecx, ecx
je 0x405c4e
cmp dword [ebp + 0x10], 0
jne 0x405bc7
jmp 0x405c4e
test ecx, ecx
je 0x405c4e
cmp word [ebp + 0x1c], 0
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
mov ecx, dword [esp + 4]
mov edx, dword [ebp + 8]
jne 0x405c4e
cmp dword [esp + 0x24], 0xb
jae 0x405c4e
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x14], 0
je 0x405c0d
cmp dword [esp + 0xc], 0xffffffff
jne 0x405c3b
mov dword [edx + 0x1c], 2
jmp 0x405c55
mov ecx, dword [esp + 0xc]
cmp dword [esp + 8], 0
jne 0x405c28
mov dword [esp + 0x14], 0
cmp ecx, 0xffff
jne 0x405c3b
mov ecx, dword [esp + 4]
mov dword [ecx + 0x34], 1
mov dword [esp + 0x14], 1
or bl, al
test edi, 0x400
jne 0x405c5f
or esi, dword [esp + 8]
mov eax, dword [ebp + 0xc]
je 0x405c77
mov dword [edx + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x2f
je 0x405c7c
mov byte [esp + 0xc], bl
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x90], ecx
jmp 0x405cd1
cmp byte [eax], 0x2f
jne 0x405c85
mov dword [edx + 0x1c], 0x19
jmp 0x405c55
mov byte [esp + 0xc], bl
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push 0
call fcn.00403800
add esp, 0xc
mov dword [esp + 0x90], eax
mov dword [esp + 8], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov eax, 0
cmp esi, 4
setb cl
jb 0x405cc6
mov eax, dword [esp + 0x24]
or byte [esp + 0xc], cl
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00409240
add esp, 4
cmp eax, 0x10000
mov ecx, dword [esp + 8]
jb 0x405cf4
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405c55
mov dword [esp + 8], ecx
mov dword [esp + 0x44], eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, ecx
mov edx, 0
je 0x405d33
mov edx, 0xfffffffe
add edx, ecx
inc edx
mov eax, dword [eax]
and eax, edx
sub ecx, eax
and ecx, edx
mov edx, ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
xor ecx, ecx
mov edx, dword [esp + 0x94]
add edx, dword [esp + 0x44]
setb cl
mov dword [esp + 0x20], eax
add edx, eax
adc ecx, 0
mov eax, edx
add eax, 0x4a
adc ecx, 0
mov ebx, 0xfffffffe
cmp ebx, eax
sbb dword [esp + 0x2c], ecx
jae 0x405d7b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405c55
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x405dfd
mov eax, dword [esp + 0x44]
mov ebx, eax
shr ebx, 0x1f
lea ecx, [eax + eax]
add ecx, dword [esp + 0x28]
adc ebx, 0
mov eax, dword [ebp + 8]
add ecx, dword [eax]
adc ebx, dword [eax + 4]
add ecx, 0x4c
adc ebx, 0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x94]
xor dword [esp + 0x14], eax
and ecx, eax
add ecx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x38]
add ecx, dword [ebp + 0x40]
mov eax, 0
adc eax, 0xffffffff
add ecx, dword [esp + 0x20]
adc eax, 0
add ecx, dword [esp + 0x14]
adc eax, ebx
add ecx, dword [esp + 0x2c]
adc eax, 0
add ecx, 0x26
adc eax, 0
cmp eax, 0xffffffff
mov ebx, 0
je 0x405dfd
mov eax, dword [esp + 4]
mov dword [eax + 0x34], 1
mov ebx, 1
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x405e3a
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
jne 0x405e42
cmp dword [ebp + 0x14], 0
jne 0x405e2b
mov dword [esp + 0x14], 0x10
or esi, dword [esp + 8]
je 0x405e42
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x405c55
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x405e4b
mov ebx, 0x1c
lea eax, [ebx + edx]
add eax, 0x2e
mov ebx, dword [esp + 4]
mov edx, dword [ebx + 8]
cmp edx, eax
mov ecx, dword [ebp + 0x14]
jae 0x405e9c
mov ecx, 1
test edx, edx
je 0x405e6a
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405e6a
push esi
mov eax, dword [esp + 8]
push dword [eax + 0xc]
push dword [eax]
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x30]
add esp, 0x10
test eax, eax
je 0x406003
mov ebx, dword [esp + 4]
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
inc eax
cmp edx, eax
jae 0x405ee6
mov ecx, 1
test edx, edx
je 0x405eb2
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405eb2
push esi
mov eax, dword [esp + 8]
push dword [eax + 0x1c]
push dword [eax + 0x10]
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x30]
add esp, 0x10
test eax, eax
je 0x406003
mov ecx, dword [esp + 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], esi
mov ecx, dword [ebp + 0x14]
test ecx, ecx
sete cl
xor eax, eax
or cl, byte [esp + 0xc]
jne 0x405f0e
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x406059
mov dword [esp + 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
push esi
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00406720
add esp, 8
test eax, eax
je 0x40600f
test edi, 0x400
sete dl
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add edi, esi
adc eax, 0
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
add ecx, esi
adc ebx, 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov word [esp + 0x88], 0
and dl, byte [esp + 0xc]
mov byte [esp + 0x28], dl
xor dl, 1
movzx edx, dl
shl edx, 3
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 4]
cmp dword [eax + 0x34], 0
je 0x406024
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov eax, 0xfffffffe
cmp eax, ebx
mov edx, 0
sbb edx, esi
mov ecx, dword [esp + 0x20]
jb 0x406068
xor edx, edx
cmp eax, edi
sbb edx, ecx
jb 0x406068
xor eax, eax
mov ebx, dword [ebp + 0x38]
jmp 0x4060be
mov dword [ebx + 0x1c], 0x10
jmp 0x405c55
push dword [esp + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x405c55
cmp dword [esp + 0x4c], 0
jne 0x40653c
test ebx, ebx
jne 0x40653c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x6c], 0x4034b50
cmp byte [esp + 0x28], 0
mov dword [esp + 0x10], ecx
jne 0x4061dd
mov dl, 0x14
jmp 0x4061df
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405c55
xor edx, edx
cmp eax, edi
mov eax, 0
sbb eax, ecx
jb 0x406079
xor eax, eax
jmp 0x40607d
lea eax, [esp + 0x30]
mov ecx, 0xfffffffe
cmp ecx, ebx
mov ecx, 0
sbb ecx, esi
jb 0x406094
mov esi, 0
jmp 0x406098
lea esi, [esp + 0x48]
mov ebx, dword [ebp + 0x38]
jae 0x4060a1
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa8]
mov dword [esp + 4], ecx
push eax
push esi
call fcn.004067c0
add esp, 8
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea edx, [eax + ebx]
mov dword [esp + 0x6c], 0x4034b50
cmp byte [esp + 0x28], 0
mov dword [esp + 0x20], eax
jne 0x4060d8
mov bl, 0x14
jmp 0x4060da
xor ebx, ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 0
movzx ebx, word [esp + 0x8c]
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bh
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x74], bl
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov dword [esp + 0x81], 0
mov byte [esp + 0x85], 0
mov ebx, dword [esp + 0x44]
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bh
mov byte [esp + 0x88], dl
mov byte [esp + 0x89], dh
lea edx, [esp + 0x6c]
push 0x1e
push edx
push ecx
push edi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40634c
mov ecx, esi
mov esi, ebx
mov ebx, dword [esp + 0x10]
lea eax, [ebx + ebx]
and eax, 0x3c
xor ebx, 0x1e
add ebx, eax
mov edi, dword [esp + 0x18]
adc edi, 0
push esi
push dword [ebp + 0xc]
push edi
push ebx
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40633c
add ebx, esi
adc edi, 0
cmp dword [esp + 4], 0
mov esi, ebx
mov ecx, edi
je 0x4062b3
lea eax, [esp + 0xa8]
mov edi, dword [esp + 0x20]
push edi
push eax
push ecx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov ebx, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x4062eb
add esi, edi
adc ebx, 0
mov eax, dword [ebp + 8]
mov ecx, ebx
jmp 0x4062be
xor edx, edx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x70], dl
mov ebx, dword [esp + 0x8c]
movzx edx, bx
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], dh
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x74], dl
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov dword [esp + 0x81], 0
mov byte [esp + 0x85], 0
mov ebx, dword [esp + 0x44]
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bh
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x88], dl
mov byte [esp + 0x89], dh
lea edx, [esp + 0x6c]
push 0x1e
push edx
push eax
push edi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40634c
mov eax, esi
mov esi, dword [esp + 0x10]
add esi, 0x1e
mov edi, dword [esp + 0x18]
adc edi, 0
push ebx
push dword [ebp + 0xc]
push edi
push esi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40633c
add esi, ebx
adc edi, 0
mov dword [esp + 4], 0
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x38]
mov ecx, edi
jmp 0x4062c1
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x38]
test ebx, ebx
je 0x4062fa
push ebx
push dword [ebp + 0x34]
push ecx
push esi
push dword [eax + 0x44]
mov edi, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4062eb
add esi, ebx
adc edi, 0
mov ebx, dword [ebp + 0x14]
movzx eax, byte [esp + 0xc]
mov ecx, edi
jmp 0x406302
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405c55
mov ebx, dword [ebp + 0x14]
movzx eax, byte [esp + 0xc]
test al, al
je 0x406358
push ebx
push dword [ebp + 0x10]
push ecx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov edi, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40633c
add esi, ebx
mov dword [esp + 0x10], esi
adc edi, 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0
jmp 0x40641d
push dword [esp + 8]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x405c55
test ebx, ebx
je 0x406415
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x24]
mov ecx, eax
cmp eax, 0xa
jl 0x40638f
mov ecx, 0xa
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x43ba58]
test edx, edx
jne 0x4063ae
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x406830
mov esi, dword [esp + 0x14]
push esi
call fcn.00404da0
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa4]
push 4
push 0
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.004038e0
add esp, 0x18
cmp eax, 1
jne 0x40651c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
jmp 0x40641d
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
push dword [esp + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov esi, ecx
mov dword [esp + 0x24], eax
or ecx, eax
je 0x406635
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x90]
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], dh
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x56], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x57], cl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 4], 0
je 0x406538
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], ch
mov ebx, ecx
shr ebx, 0x10
mov byte [esp + 0x5a], bl
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
mov byte [esp + 0x5b], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], dh
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], cl
mov edx, esi
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], dh
mov ecx, esi
shr ecx, 0x10
mov byte [esp + 0x62], cl
mov ecx, esi
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov dword [esp + 0x28], 0x38
mov dword [esp + 0x9c], 0x30
mov ecx, 0x28
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0x17
mov eax, dword [esp + 0x24]
mov edx, eax
mov byte [esp + 0x1f], al
mov dword [esp + 0xa0], 0x16
mov dword [esp + 0x98], 0x15
mov edi, 0x14
jmp 0x406598
push dword [esp + 8]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x405c55
test edx, edx
je 0x40654b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405c55
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x9c], 0x10
mov ecx, 8
mov dword [esp + 0xc], 0xf
mov dword [esp + 0xa0], 0xe
mov edx, esi
mov byte [esp + 0x1f], dl
mov dword [esp + 0x98], 0xd
mov edi, 0xc
mov dword [esp + 8], 0x10
mov edx, esi
mov ebx, dword [esp + 0x24]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x1f]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x4065b3
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x24]
shrd edx, eax, cl
mov edi, dword [esp + 0x98]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x4065d9
mov ebx, edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0xa0]
mov byte [esp + esi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x4065fa
mov eax, edx
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp + 8]
push esi
push eax
push dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405c55
mov eax, dword [esp + 8]
add dword [esp + 0x10], eax
adc dword [esp + 0x18], 0
cmp dword [esp + 4], 0
je 0x406694
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x30]
mov eax, 0
sbb eax, dword [esp + 0x34]
jb 0x406656
xor eax, eax
jmp 0x40665a
lea eax, [esp + 0x30]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x38]
mov ecx, 0
sbb ecx, dword [esp + 0x3c]
jb 0x406675
mov edi, 0
jmp 0x406679
lea edi, [esp + 0x48]
jae 0x40667f
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.004067c0
add esp, 8
mov dword [esp + 0x20], eax
movzx ebx, word [esp + 0x8c]
movzx esi, word [esp + 0x2c]
movzx eax, word [esp + 0x20]
movzx edi, word [esp + 0x44]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x1c]
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0
push ebx
push esi
push dword [esp + 0xb0]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0xc8]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x44]
push edi
call fcn.00406880
add esp, 0x48
test eax, eax
je 0x405c55
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405c57