Function at 0x405860
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 edi, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x20]
mov ebx, 6
test eax, eax
js 0x4058af
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, esi
mov edx, ebx
or eax, edi
je 0x4058c4
mov eax, ebx
and eax, 0x400
jmp 0x4058d6
and ebx, 0x400
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x4058dc
test ebx, ebx
jne 0x4058dc
mov ebx, eax
mov ax, 8
test edx, 0x10000
mov dword [esp + 0x4c], esi
jne 0x4058f0
movzx eax, ax
or eax, 0x800
mov dword [esp + 0x94], eax
and edx, 0xf
mov dword [esp + 0x18], edx
sete dh
mov esi, ebx
test ebx, ebx
setne al
mov ebx, dword [ecx + 0x48]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x40596e
cmp dword [ecx + 0x14], 2
jne 0x40596e
cmp dword [ebp + 0x14], 0
sete ah
cmp dword [ebp + 0x10], 0
setne dl
cmp dword [ebp + 0xc], 0
je 0x40596e
or dl, ah
je 0x40596e
cmp word [ebp + 0x1c], 0
je 0x405967
cmp dword [ebp + 0x18], 0
je 0x40596e
cmp dword [esp + 0x18], 0xa
ja 0x40596e
mov ah, dh
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0x34]
mov edx, dword [ecx + 0x10]
test ebx, ebx
mov dword [esp + 8], esi
je 0x40597f
cmp edx, 0xffffffff
jne 0x4059a1
mov dword [ecx + 0x1c], 2
jmp 0x405975
cmp dword [esp + 0x18], 0xb
jb 0x405945
mov dword [ecx + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test edi, edi
jne 0x40598d
xor ebx, ebx
cmp edx, 0xffff
jne 0x4059a1
mov edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x34], 1
mov ecx, edx
mov ebx, 1
mov edx, ecx
mov ecx, dword [esp + 0x4c]
mov esi, edi
or ecx, edi
je 0x4059bd
cmp dword [esp + 8], 0
jne 0x4059bd
mov dword [edx + 0x1c], 0x18
jmp 0x405975
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x2f
jne 0x4059ce
mov dword [edx + 0x1c], 0x19
jmp 0x405975
or ah, al
cmp dword [esp + 8], 0
mov byte [esp + 0x24], ah
je 0x4059e7
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x98], eax
jmp 0x405a2a
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push 0
call fcn.00403330
add esp, 0xc
mov dword [esp + 0x98], eax
xor esi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0
mov eax, 0
cmp edi, 4
setb cl
jb 0x405a1e
mov eax, dword [esp + 0x18]
or byte [esp + 0x24], cl
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], eax
push dword [ebp + 0xc]
call fcn.00408d20
add esp, 4
cmp eax, 0x10000
jb 0x405a4b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405975
mov edi, eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x9c], eax
mov dword [esp + 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
or edx, eax
mov ecx, 0
mov dword [esp + 0x3c], edi
je 0x405a9b
mov edx, eax
mov edi, 0xfffffffe
xor edx, edi
mov ecx, eax
and ecx, 0xfffffffe
lea ecx, [edx + ecx*2]
inc ecx
mov edx, dword [ebp + 8]
and ecx, dword [edx]
lea edx, [edi + eax]
inc edx
sub eax, ecx
mov edi, dword [esp + 0x3c]
and eax, edx
mov ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
xor ecx, ecx
mov dword [esp + 0x48], edx
add edx, dword [esp + 0x9c]
setb cl
mov eax, edx
add eax, edi
mov dword [esp + 0x90], ecx
adc ecx, 0
add eax, 0x4a
adc ecx, 0
mov edi, 0xfffffffe
cmp edi, eax
sbb dword [esp + 4], ecx
jae 0x405ae6
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405975
test ebx, ebx
mov ecx, dword [esp + 0x3c]
jne 0x405b64
xor eax, eax
mov ebx, ecx
add ebx, dword [esp + 0x20]
setb al
mov ecx, dword [ebp + 8]
add ebx, dword [ecx]
adc eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
add ebx, 0x4c
adc eax, 0
mov dword [esp + 0x8c], eax
mov eax, ebx
and eax, ecx
xor ebx, ecx
mov edi, eax
mov dword [esp + 4], eax
shr dword [esp + 4], 0x1f
add eax, eax
add edx, dword [ebp + 0x38]
mov edi, dword [esp + 0x90]
adc edi, 0
add edx, dword [ebp + 0x40]
adc edi, 0
add edx, ebx
adc edi, dword [esp + 0x8c]
add edx, eax
adc edi, dword [esp + 4]
add edx, 0x26
adc edi, 0xffffffff
xor ebx, ebx
cmp edi, 0xffffffff
je 0x405b64
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 1
mov ebx, 1
xor edx, edx
test ecx, ecx
je 0x405b90
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
mov eax, dword [ebp + 8]
jne 0x405b90
cmp dword [ebp + 0x14], 0
jne 0x405d80
mov edx, 0x10
or dword [esp + 0x4c], esi
jne 0x405d80
mov dword [esp + 0x4c], edx
lea eax, [ecx + 0x2e]
mov ecx, eax
mov edx, dword [esp + 0x9c]
and ecx, edx
xor eax, edx
lea eax, [eax + ecx*2]
test ebx, ebx
je 0x405bb0
mov ebx, 0x1c
add eax, dword [esp + 0x48]
add eax, ebx
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 8]
cmp edx, eax
jae 0x405bf7
mov ecx, 1
test edx, edx
je 0x405bcc
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405bcc
push esi
push dword [edi + 0xc]
push dword [edi]
mov ebx, edi
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x405d5f
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov edi, ebx
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
inc eax
cmp edx, eax
jae 0x405c38
mov ecx, 1
test edx, edx
je 0x405c0d
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405c0d
push esi
push dword [edi + 0x1c]
push dword [edi + 0x10]
mov ebx, edi
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x405d5f
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], esi
cmp dword [ebp + 0x14], 0
sete cl
xor eax, eax
or cl, byte [esp + 0x24]
jne 0x405c62
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x405dba
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov edx, edi
mov esi, dword [esp + 0x20]
push esi
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00406480
add esp, 8
test eax, eax
je 0x405d6b
cmp dword [esp + 8], 0
mov ecx, ebx
sete bl
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, esi
adc edx, 0
mov dword [esp + 8], eax
mov dword [esp + 0x28], eax
add edi, esi
mov dword [esp + 0x10], edi
adc ecx, 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], edx
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 bl, byte [esp + 0x24]
mov edx, ebx
xor dl, 1
movzx edx, dl
shl edx, 3
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x34], 0
je 0x405d8c
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, 0xfffffffe
cmp eax, edi
mov edx, 0
sbb edx, esi
mov ecx, dword [esp + 0x20]
jb 0x405dc9
xor edx, edx
cmp eax, dword [esp + 8]
sbb edx, ecx
jb 0x405dc9
mov dword [esp + 0x14], 0
xor eax, eax
mov esi, dword [esp + 8]
jmp 0x405e1e
mov dword [edi + 0x1c], 0x10
jmp 0x405975
push dword [esp + 4]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x405975
mov dword [eax + 0x1c], 0x18
jmp 0x405975
cmp dword [esp + 0x44], 0
jne 0x40628c
test ecx, ecx
jne 0x40628c
mov dword [esp + 0x6c], 0x4034b50
test bl, bl
mov dword [esp + 0xc], ecx
jne 0x405f29
mov dl, 0x14
jmp 0x405f2b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405975
xor edx, edx
cmp eax, dword [esp + 8]
mov eax, 0
sbb eax, ecx
jb 0x405ddc
xor eax, eax
jmp 0x405de0
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, edi
mov ecx, 0
sbb ecx, esi
jb 0x405df7
mov esi, 0
jmp 0x405dfb
lea esi, [esp + 0x40]
jae 0x405e01
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14], ecx
push eax
push esi
call fcn.00406520
add esp, 8
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x38]
add edx, eax
mov dword [esp + 0x6c], 0x4034b50
test bl, bl
mov dword [esp + 8], eax
jne 0x405e37
mov bl, 0x14
jmp 0x405e39
xor ebx, ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 0
movzx ebx, word [esp + 0x94]
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bh
mov ebx, dword [esp + 0x48]
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 + 0x3c]
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 esi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40609b
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 0xc]
adc esi, 0
push ebx
push dword [ebp + 0xc]
push esi
push edi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40608b
add edi, ebx
adc esi, 0
cmp dword [esp + 0x14], 0
mov ebx, edi
je 0x405ffd
lea eax, [esp + 0xa8]
mov edi, dword [esp + 8]
push edi
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x406031
add ebx, edi
adc esi, 0
jmp 0x406005
xor edx, edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x70], dl
mov ebx, dword [esp + 0x94]
movzx edx, bx
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], dh
mov edx, dword [esp + 0x48]
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 + 0x3c]
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 ecx
push eax
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40609b
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 0xc]
adc esi, 0
push ebx
push dword [ebp + 0xc]
push esi
push edi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40608b
add edi, ebx
adc esi, 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
mov ebx, edi
jmp 0x406005
mov dword [esp + 0x14], 0
mov edi, dword [ebp + 0x38]
test edi, edi
je 0x406040
push edi
push dword [ebp + 0x34]
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x406031
add ebx, edi
mov dword [esp + 0x10], ebx
adc esi, 0
mov dword [esp + 0xc], esi
jmp 0x406048
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405975
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x24], 0
je 0x4060a7
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40608b
mov eax, dword [ebp + 0x14]
add dword [esp + 0x10], eax
adc dword [esp + 0xc], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
jmp 0x40616c
push dword [esp + 4]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x405975
cmp dword [ebp + 0x14], 0
je 0x40616c
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp eax, 0xa
jl 0x4060e8
mov ecx, 0xa
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x439d28]
test edx, edx
jne 0x406107
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x406590
mov esi, dword [esp + 0x10]
push esi
call fcn.004049e0
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.004034a0
add esp, 0x18
cmp eax, 1
jne 0x40626c
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 + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
push dword [esp + 4]
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 dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
or ecx, eax
je 0x406390
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x98]
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 + 0x14], 0
je 0x406288
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, dword [esp + 0x18]
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], dh
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x62], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov dword [esp + 0x20], 0x38
mov dword [esp + 0x8c], 0x30
mov ecx, 0x28
mov esi, 0x18
mov dword [esp + 4], 0x17
mov eax, dword [esp + 0x24]
mov edx, eax
mov byte [esp + 0x1f], al
mov dword [esp + 0x90], 0x16
mov dword [esp + 0xa0], 0x15
mov edi, 0x14
jmp 0x4062e7
push dword [esp + 4]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x405975
test edx, edx
je 0x40629b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405975
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x8c], 0x10
mov ecx, 8
mov dword [esp + 4], 0xf
mov dword [esp + 0x90], 0xe
mov edx, dword [esp + 0x18]
mov byte [esp + 0x1f], dl
mov dword [esp + 0xa0], 0xd
mov edi, 0xc
mov esi, 0x10
mov edx, dword [esp + 0x18]
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 0x406304
mov ebx, edx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
shrd edx, eax, cl
mov edi, dword [esp + 0xa0]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x40632c
mov ebx, edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
shrd edx, eax, cl
mov edi, dword [esp + 0x90]
mov byte [esp + edi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x40634f
mov eax, edx
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
push esi
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405975
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, esi
add eax, eax
xor ecx, esi
add ecx, eax
mov dword [esp + 0x10], ecx
adc dword [esp + 0xc], 0
cmp dword [esp + 0x14], 0
je 0x4063ef
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x28]
mov eax, 0
sbb eax, dword [esp + 0x2c]
jb 0x4063b1
xor eax, eax
jmp 0x4063b5
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x30]
mov ecx, 0
sbb ecx, dword [esp + 0x34]
jb 0x4063d0
mov edi, 0
jmp 0x4063d4
lea edi, [esp + 0x40]
jae 0x4063da
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.00406520
add esp, 8
mov dword [esp + 8], eax
movzx ebx, word [esp + 0x94]
movzx esi, word [esp + 0x48]
movzx eax, word [esp + 8]
movzx edi, word [esp + 0x3c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x54]
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push ebx
push esi
push dword [esp + 0xb8]
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0xd0]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x54]
push edi
call fcn.004065e0
add esp, 0x48
test eax, eax
je 0x405975
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405977