Function at 0x4059e0
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 eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x20]
mov esi, 6
test eax, eax
js 0x405a33
mov esi, eax
mov dword [esp + 0xc], ecx
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp], edi
or eax, edi
je 0x405a4f
mov ecx, esi
and ecx, 0x400
jmp 0x405a61
mov edi, esi
and edi, 0x400
xor ecx, ecx
test ebx, ebx
je 0x405a67
test edi, edi
jne 0x405a67
mov edi, ecx
mov cx, 8
test esi, 0x10000
jne 0x405a78
movzx ecx, cx
or ecx, 0x800
and esi, 0xf
sete byte [esp + 0x18]
test edi, edi
setne byte [esp + 0x20]
mov eax, dword [edx + 0x48]
mov dword [esp + 4], eax
test eax, eax
je 0x405b2e
cmp dword [edx + 0x14], 2
jne 0x405b2e
mov dword [esp + 0x24], edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x405abb
test edi, edi
mov edi, dword [esp + 0x24]
je 0x405b2e
cmp dword [ebp + 0x10], 0
jne 0x405ac3
jmp 0x405b2e
test edi, edi
mov edi, dword [esp + 0x24]
je 0x405b2e
cmp word [ebp + 0x1c], 0
mov dword [esp + 0x98], ecx
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
mov edx, dword [ebp + 8]
jne 0x405b2e
cmp esi, 0xb
jae 0x405b2e
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x34]
mov ecx, dword [edx + 0x10]
test eax, eax
je 0x405b01
cmp ecx, 0xffffffff
jne 0x405b21
mov dword [edx + 0x1c], 2
jmp 0x405b35
cmp dword [esp], 0
jne 0x405b11
xor eax, eax
cmp ecx, 0xffff
jne 0x405b21
mov ecx, dword [esp + 4]
mov dword [ecx + 0x34], 1
mov eax, 1
mov ecx, dword [esp + 0x10]
or ecx, dword [esp]
je 0x405b3f
test edi, edi
jne 0x405b3f
mov dword [edx + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x2f
jne 0x405b50
mov dword [edx + 0x1c], 0x19
jmp 0x405b35
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0x20]
or byte [esp + 0x18], al
test edi, edi
je 0x405b71
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x94], eax
mov edi, dword [esp + 4]
jmp 0x405bb9
push ebx
push dword [ebp + 0x10]
push 0
call fcn.00403740
add esp, 0xc
mov dword [esp + 0x94], eax
mov dword [esp], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0
mov eax, 0
cmp ebx, 4
setb cl
mov edi, dword [esp + 4]
jb 0x405bac
mov eax, esi
or byte [esp + 0x18], cl
mov dword [esp + 0x10], ebx
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00408fb0
add esp, 4
cmp eax, 0x10000
jb 0x405bd8
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405b35
mov dword [esp + 0x20], eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x1c], 0
mov ebx, 0xfffffffe
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, ecx
mov edx, 0
je 0x405c14
lea edx, [ebx + ecx]
inc edx
mov eax, dword [eax]
and eax, edx
sub ecx, eax
and ecx, edx
mov edx, ecx
mov dword [esp + 0x4c], edx
mov ebx, edi
mov edi, dword [edi + 4]
xor eax, eax
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0xa0]
setb al
mov ecx, edx
mov dword [esp + 0x88], edi
add ecx, edi
mov dword [esp + 0x8c], eax
adc eax, 0
mov dword [esp + 0x90], ecx
add ecx, 0x4a
adc eax, 0
mov edi, 0xfffffffe
cmp edi, ecx
sbb dword [esp + 0x1c], eax
jae 0x405c6b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405b35
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x405cf2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, eax
mov ebx, dword [esp + 0x4c]
and edi, ebx
mov ecx, edi
shr ecx, 0x1f
add edi, edi
xor eax, ebx
add eax, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 4]
adc ebx, 0
add eax, edi
adc ebx, ecx
add eax, 0x1e
adc ebx, 0
lea ecx, [eax + eax]
and ecx, 0x5c
mov dword [esp + 0x3c], ecx
xor eax, 0x2e
add edx, dword [ebp + 0x38]
mov ecx, dword [esp + 0x8c]
adc ecx, 0
add edx, dword [ebp + 0x40]
adc ecx, 0
add edx, dword [esp + 0x88]
adc ecx, 0
add edx, eax
adc ecx, ebx
mov ebx, dword [esp + 4]
add edx, dword [esp + 0x3c]
adc ecx, 0
add edx, 0x26
adc ecx, 0xffffffff
xor eax, eax
cmp ecx, 0xffffffff
je 0x405cf2
mov dword [ebx + 0x34], 1
mov eax, 1
mov edx, eax
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x405d30
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
mov eax, dword [ebp + 8]
jne 0x405d30
cmp dword [ebp + 0x14], 0
jne 0x405ef7
mov dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x10]
or ecx, dword [esp]
jne 0x405ef7
test edx, edx
je 0x405d39
mov edx, 0x1c
mov eax, dword [esp + 0x90]
add eax, edx
add eax, 0x2e
mov edx, dword [ebx + 8]
cmp edx, eax
mov dword [esp + 0x10], esi
jae 0x405d82
mov ecx, 1
test edx, edx
je 0x405d5b
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405d5b
push esi
push dword [ebx + 0xc]
push dword [ebx]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x405ed7
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
inc eax
cmp edx, eax
jae 0x405dc1
mov ecx, 1
test edx, edx
je 0x405d98
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405d98
push esi
push dword [ebx + 0x1c]
push dword [ebx + 0x10]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x405ed7
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], esi
cmp dword [ebp + 0x14], 0
sete cl
xor eax, eax
or cl, byte [esp + 0x18]
jne 0x405deb
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x405f31
mov dword [esp], eax
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0xc]
mov edx, edi
mov ebx, dword [esp + 0x4c]
push ebx
mov esi, dword [esp + 0xc]
push esi
call fcn.00406610
add esp, 8
test eax, eax
je 0x405ee3
cmp dword [esp + 0x24], 0
sete dl
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, ebx
adc ecx, 0
mov dword [esp + 0x28], eax
add edi, ebx
mov ebx, edx
mov dword [esp + 0xc], edi
adc esi, 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], 0
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 word [esp + 0x84], 0
and bl, byte [esp + 0x18]
mov edx, ebx
xor dl, 1
movzx edx, dl
shl edx, 3
mov dword [esp + 0x24], edx
mov edx, dword [esp + 4]
cmp dword [edx + 0x34], 0
je 0x405f03
mov dword [esp + 8], esi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 4], 0
mov edx, 0xfffffffe
cmp edx, edi
mov edx, 0
mov dword [esp + 0x1c], esi
sbb edx, esi
jb 0x405f40
xor edx, edx
mov esi, 0xfffffffe
cmp esi, eax
sbb edx, ecx
jb 0x405f40
xor edi, edi
jmp 0x405f9c
mov dword [edi + 0x1c], 0x10
jmp 0x405b35
push dword [esp]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x405b35
mov dword [eax + 0x1c], 0x18
jmp 0x405b35
cmp dword [esp + 0x44], 0
jne 0x40641b
test esi, esi
jne 0x40641b
mov dword [esp + 0x68], 0x4034b50
test bl, bl
mov dword [esp + 8], esi
jne 0x4060b6
mov dl, 0x14
jmp 0x4060b8
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405b35
xor edx, edx
mov esi, 0xfffffffe
cmp esi, eax
mov eax, 0
sbb eax, ecx
jb 0x405f56
xor eax, eax
jmp 0x405f5a
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, edi
mov ecx, 0
sbb ecx, dword [esp + 0x1c]
jb 0x405f73
mov esi, 0
jmp 0x405f77
lea esi, [esp + 0x40]
jae 0x405f7d
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
mov dword [esp + 4], ecx
push eax
push esi
call fcn.004066b0
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x38]
add edx, edi
mov dword [esp + 0x68], 0x4034b50
test bl, bl
jne 0x405fb1
mov bl, 0x14
jmp 0x405fb3
xor ebx, ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0
movzx ebx, word [esp + 0x98]
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bh
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x70], bl
mov dword [esp + 0x71], 0
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov byte [esp + 0x81], 0
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bh
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], dh
lea edx, [esp + 0x68]
push 0x1e
push edx
push ecx
push eax
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40621b
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xc]
add eax, 0x1e
mov edi, dword [esp + 8]
mov ecx, edi
adc ecx, 0
push ebx
push dword [ebp + 0xc]
push ecx
push eax
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4060ae
mov ecx, dword [esp + 0xc]
add ecx, ebx
adc edi, 0
add ecx, 0x1e
adc edi, 0
cmp dword [esp + 4], 0
mov ebx, edi
je 0x406181
lea eax, [esp + 0xa8]
mov esi, dword [esp + 0x1c]
push esi
push eax
push ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov edi, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4061b6
add edi, esi
adc ebx, 0
mov ecx, edi
jmp 0x406189
push dword [esp]
jmp 0x406212
xor edx, edx
mov byte [esp + 0x6c], dl
mov ebx, dword [esp + 0x98]
movzx edx, bx
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], dh
mov edx, dword [esp + 0x24]
mov byte [esp + 0x70], dl
mov dword [esp + 0x71], 0
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov byte [esp + 0x81], 0
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bh
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], dh
lea edx, [esp + 0x68]
push 0x1e
push edx
push ecx
push eax
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40621b
mov eax, esi
mov esi, dword [esp + 0xc]
add esi, 0x1e
mov edi, dword [esp + 8]
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 0x40620c
add esi, ebx
adc edi, 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0
mov ebx, edi
mov ecx, esi
jmp 0x406189
mov dword [esp + 4], 0
mov esi, dword [ebp + 0x38]
test esi, esi
je 0x4061c5
push esi
push dword [ebp + 0x34]
push ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov edi, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4061b6
add edi, esi
adc ebx, 0
movzx eax, byte [esp + 0x18]
mov ecx, edi
jmp 0x4061ca
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405b35
movzx eax, byte [esp + 0x18]
test al, al
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
je 0x406227
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40620c
mov eax, dword [ebp + 0x14]
add dword [esp + 0xc], eax
adc dword [esp + 8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
jmp 0x4062f8
push dword [esp]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x405b35
cmp dword [ebp + 0x14], 0
je 0x4062f8
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x10]
mov eax, ecx
cmp ecx, 0xa
jl 0x406268
mov eax, 0xa
mov edx, dword [eax*4 + 0x441a58]
xor ecx, ecx
mov esi, dword [esp + 0x10]
cmp esi, 4
setl cl
shl ecx, 0xe
mov eax, edx
xor eax, ecx
not ecx
and ecx, edx
add eax, edx
sub eax, ecx
test esi, esi
jne 0x406293
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x406720
mov esi, dword [esp + 0xc]
push esi
call fcn.00404c80
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.00403800
add esp, 0x18
cmp eax, 1
jne 0x4063fc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
push dword [esp]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edi, ecx
mov dword [esp + 0x10], eax
or ecx, eax
je 0x40651c
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x94]
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 + 0x40]
mov edx, dword [esp + 0x44]
cmp dword [esp + 4], 0
je 0x406417
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, edi
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], dh
mov ecx, edi
shr ecx, 0x10
mov byte [esp + 0x62], cl
mov ecx, edi
shr ecx, 0x18
mov byte [esp + 0x63], cl
lea ecx, [esp + 0x64]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x18], 0x38
mov dword [esp + 0x8c], 0x30
mov ecx, 0x28
mov dword [esp], 0x18
mov eax, dword [esp + 0x10]
mov byte [esp + 0x17], al
mov dword [esp + 0x90], 0x17
mov dword [esp + 0x4c], 0x16
mov dword [esp + 0x9c], 0x15
jmp 0x40647c
push dword [esp]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x405b35
test edx, edx
je 0x40642a
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405b35
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x8c], 0x10
mov ecx, 8
mov dword [esp + 0x90], 0xf
mov edx, edi
mov byte [esp + 0x17], dl
mov dword [esp + 0x4c], 0xe
mov dword [esp + 0x9c], 0xd
mov dword [esp], 0x10
mov edx, edi
mov ebx, dword [esp + 0x10]
shrd edx, ebx, cl
shr ebx, cl
mov esi, dword [esp + 0x88]
movzx eax, byte [esp + 0x17]
mov byte [esi], al
test cl, 0x20
jne 0x40649c
mov ebx, edx
mov edx, edi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
shrd edx, eax, cl
mov esi, dword [esp + 0x9c]
mov byte [esp + esi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x4064c2
mov ebx, edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shrd edi, eax, cl
mov edx, edi
mov edi, dword [esp + 0x4c]
mov byte [esp + edi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x4064e0
mov eax, edx
mov ecx, dword [esp + 0x90]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp]
push esi
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405b35
mov eax, dword [esp]
add dword [esp + 0xc], eax
adc dword [esp + 8], 0
cmp dword [esp + 4], 0
je 0x40657b
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x28]
mov eax, 0
sbb eax, dword [esp + 0x2c]
jb 0x40653d
xor eax, eax
jmp 0x406541
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x30]
mov ecx, 0
sbb ecx, dword [esp + 0x34]
jb 0x40655c
mov edi, 0
jmp 0x406560
lea edi, [esp + 0x40]
jae 0x406566
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.004066b0
add esp, 8
mov dword [esp + 0x1c], eax
movzx ebx, word [esp + 0x98]
movzx esi, word [esp + 0x24]
movzx eax, word [esp + 0x1c]
movzx edi, word [esp + 0x20]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push ebx
push esi
push dword [esp + 0xb4]
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0xd4]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x44]
push edi
call fcn.00406770
add esp, 0x48
test eax, eax
je 0x405b35
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405b37