Function at 0x405890
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 edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov ebx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov eax, dword [ebp + 0x20]
mov ecx, 6
test eax, eax
js 0x4058df
mov ecx, eax
mov eax, edi
or eax, esi
je 0x4058ef
mov eax, ecx
and ecx, 0x400
jmp 0x405919
mov dword [esp + 0x10], edi
mov edi, esi
mov eax, ecx
mov esi, ecx
and esi, 0x400
xor ecx, ecx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x1c], esi
je 0x4059dc
test esi, esi
mov esi, edi
mov edi, dword [esp + 0x10]
jne 0x405921
mov dword [esp + 0x1c], ecx
mov cx, 8
test eax, 0x10000
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
jne 0x405939
movzx ecx, cx
or ecx, 0x800
and eax, 0xf
mov dword [esp + 0x10], eax
sete ah
cmp dword [esp + 0x1c], 0
setne al
mov esi, dword [edx + 0x48]
test esi, esi
je 0x405a1d
cmp dword [edx + 0x14], 2
jne 0x405a1d
mov dword [esp + 4], esi
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
je 0x405988
test ebx, ebx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 4]
je 0x405a1d
cmp dword [ebp + 0x10], 0
jne 0x405998
jmp 0x405a1d
test ebx, ebx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 4]
je 0x405a1d
cmp word [ebp + 0x1c], 0
mov dword [esp + 0x94], ecx
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
mov edx, dword [ebp + 8]
jne 0x405a1d
cmp dword [esp + 0x10], 0xb
jae 0x405a1d
mov dword [esp + 0x1c], esi
mov esi, dword [ebx + 0x34]
mov ecx, dword [edx + 0x10]
mov dword [esp + 8], esi
test esi, esi
je 0x4059e7
cmp ecx, 0xffffffff
jne 0x405a0d
mov dword [edx + 0x1c], 2
jmp 0x405a24
mov esi, edi
mov edi, dword [esp + 0x10]
jmp 0x405921
cmp dword [esp + 0x28], 0
jne 0x4059fe
mov dword [esp + 8], 0
cmp ecx, 0xffff
jne 0x405a0d
mov dword [ebx + 0x34], 1
mov dword [esp + 8], 1
mov ecx, edi
or ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
je 0x405a2e
test esi, esi
jne 0x405a2e
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 0x405a3f
mov dword [edx + 0x1c], 0x19
jmp 0x405a24
test esi, esi
je 0x405a51
mov ebx, dword [ebp + 0x2c]
mov byte [esp + 0x24], 1
mov esi, dword [esp + 0x28]
jmp 0x405a98
or ah, al
mov byte [esp + 0x28], ah
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push 0
call fcn.004035e0
add esp, 0xc
mov ebx, eax
xor esi, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0
mov eax, 0
cmp edi, 4
setb cl
jb 0x405a89
mov eax, dword [esp + 0x10]
or cl, byte [esp + 0x28]
mov byte [esp + 0x24], cl
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00408d90
add esp, 4
cmp eax, 0x10000
jb 0x405ab7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405a24
mov edx, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x9c], ebx
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x14], 0
mov esi, 0xfffffffe
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
or ecx, eax
mov ecx, 0
mov dword [esp + 0x2c], edx
je 0x405b0e
mov ecx, eax
or ecx, esi
mov edx, eax
and edx, 0xfffffffe
add ecx, edx
inc ecx
and ecx, dword [ebx]
lea edx, [esi + eax]
inc edx
sub eax, ecx
and eax, edx
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
xor eax, eax
add edx, dword [esp + 0xa0]
setb al
mov ebx, edx
mov dword [esp + 0x90], ecx
add ebx, ecx
mov ecx, eax
adc ecx, 0
mov dword [esp + 0x44], ebx
add ebx, 0x4a
adc ecx, 0
cmp esi, ebx
sbb dword [esp + 0x14], ecx
jae 0x405b56
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405a24
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x405bc5
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx]
add ebx, dword [esp + 0x54]
adc esi, 0
add ebx, 0x1e
adc esi, 0
mov dword [esp + 8], esi
mov esi, ebx
and esi, dword [esp + 0x2c]
mov ecx, esi
shr ecx, 0x1f
add esi, esi
xor ebx, dword [esp + 0x2c]
add edx, dword [ebp + 0x38]
adc eax, 0
add edx, dword [ebp + 0x40]
adc eax, 0
add edx, dword [esp + 0x90]
adc eax, 0
add edx, ebx
adc eax, dword [esp + 8]
add edx, esi
adc eax, ecx
add edx, 0x54
adc eax, 0xffffffff
xor ebx, ebx
cmp eax, 0xffffffff
je 0x405bc5
mov eax, dword [esp + 4]
mov dword [eax + 0x34], 1
mov ebx, 1
xor edx, edx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x405bf5
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
mov eax, dword [ebp + 8]
jne 0x405bf5
cmp dword [ebp + 0x14], 0
jne 0x405de5
mov edx, 0x10
or edi, dword [esp + 0x28]
jne 0x405de5
mov dword [esp + 0x28], edx
test ebx, ebx
je 0x405c02
mov ebx, 0x1c
mov eax, dword [esp + 0x44]
add eax, ebx
add eax, 0x2e
mov ebx, dword [esp + 4]
mov edx, dword [ebx + 8]
cmp edx, eax
mov ecx, dword [ebp + 0x14]
jae 0x405c52
mov ecx, 1
test edx, edx
je 0x405c24
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405c24
push esi
mov ebx, dword [esp + 8]
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 0x405dc7
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 0x405c98
mov ecx, 1
test edx, edx
je 0x405c68
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405c68
push esi
mov ebx, dword [esp + 8]
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 0x405dc7
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], esi
mov ecx, dword [ebp + 0x14]
test ecx, ecx
sete al
xor ebx, ebx
or al, byte [esp + 0x24]
jne 0x405cc2
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x405ef1
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov edx, edi
mov esi, dword [esp + 0x54]
push esi
push dword [esp + 0x10]
call fcn.004064c0
add esp, 8
test eax, eax
je 0x405dd3
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x1c], 0
setne dl
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add eax, esi
adc ecx, 0
mov dword [esp + 8], eax
mov dword [esp + 0x30], eax
add edi, esi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xc]
adc edi, 0
mov dword [esp + 0x34], ecx
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 dword [esp + 0x88], 0
mov word [esp + 0x8c], 0
movzx ebx, byte [esp + 0x24]
xor bl, 1
or bl, dl
movzx edx, bl
shl edx, 3
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 4]
cmp dword [eax + 0x34], 0
je 0x405df1
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov edx, 0xfffffffe
mov dword [esp + 0x44], esi
cmp edx, esi
mov edx, 0
sbb edx, eax
mov edi, dword [esp + 8]
jb 0x405f00
xor edx, edx
mov esi, 0xfffffffe
cmp esi, edi
sbb edx, ecx
jb 0x405f00
xor eax, eax
jmp 0x405f5f
mov dword [edi + 0x1c], 0x10
jmp 0x405a24
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x405a24
mov dword [eax + 0x1c], 0x18
jmp 0x405a24
cmp dword [esp + 0x4c], 0
jne 0x4062e1
test edi, edi
jne 0x4062e1
mov dword [esp + 0xc], edi
mov dword [esp + 0x70], 0x4034b50
test bl, bl
je 0x405e16
mov bl, 0x14
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], 0
mov ebx, dword [esp + 0x94]
movzx edx, bx
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], dh
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x78], dl
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov dword [esp + 0x81], 0
mov dword [esp + 0x85], 0
mov byte [esp + 0x89], 0
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], bh
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x8c], dl
mov byte [esp + 0x8d], dh
lea edx, [esp + 0x70]
push 0x1e
push edx
push ecx
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4060e7
mov edi, dword [esp + 0x18]
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 0x4060d7
add edi, ebx
adc esi, 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x38]
mov ebx, edi
jmp 0x40606d
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405a24
mov edx, eax
mov eax, 0xfffffffe
cmp eax, edi
mov eax, 0
sbb eax, ecx
jb 0x405f16
xor eax, eax
jmp 0x405f1a
lea eax, [esp + 0x30]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x44]
mov ecx, 0
sbb ecx, edx
jb 0x405f33
mov esi, 0
jmp 0x405f37
lea esi, [esp + 0x48]
mov edx, 0
jae 0x405f42
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa8]
mov dword [esp + 4], ecx
push eax
push esi
call fcn.00406570
add esp, 8
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x38]
mov dword [esp + 8], eax
add edx, eax
mov dword [esp + 0x70], 0x4034b50
test bl, bl
je 0x405f76
mov bl, 0x14
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], 0
movzx ebx, word [esp + 0x94]
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bh
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x78], bl
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov dword [esp + 0x81], 0
mov dword [esp + 0x85], 0
mov byte [esp + 0x89], 0
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], bh
mov byte [esp + 0x8c], dl
mov byte [esp + 0x8d], dh
lea edx, [esp + 0x70]
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 0x4060e7
mov edi, dword [esp + 0x18]
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 0x4060d7
add edi, ebx
adc esi, 0
cmp dword [esp + 4], 0
mov ebx, edi
je 0x406062
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 0x4060f3
add ebx, edi
adc esi, 0
jmp 0x40606a
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x406090
push eax
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, dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
jne 0x4060f3
add ebx, eax
adc esi, 0
mov edi, dword [ebp + 0x14]
movzx eax, byte [esp + 0x24]
test al, al
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], esi
je 0x406102
push edi
push dword [ebp + 0x10]
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x4060d7
mov eax, dword [ebp + 0x14]
add dword [esp + 0x18], eax
adc dword [esp + 0xc], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
jmp 0x4061c5
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x405a24
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405a24
test edi, edi
je 0x4061c5
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x10]
mov ecx, eax
cmp eax, 0xa
jl 0x406141
mov ecx, 0xa
xor eax, eax
mov edx, dword [esp + 0x10]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x43fa58]
test edx, edx
jne 0x406160
or eax, 0x80000
lea ecx, [esp + 0x58]
push eax
push ecx
push 0x4065e0
mov esi, dword [esp + 0x20]
push esi
call fcn.00404bd0
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.004036a0
add esp, 0x18
cmp eax, 1
jne 0x4062c1
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
push dword [esp + 0x14]
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 + 0x10], eax
or ecx, eax
je 0x4063d4
mov dword [esp + 0x58], 0x8074b50
mov edx, dword [esp + 0x9c]
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], dh
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x5e], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x5f], cl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 4], 0
je 0x4062dd
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov ebx, ecx
shr ebx, 0x10
mov byte [esp + 0x62], bl
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], dh
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], cl
mov edx, esi
mov byte [esp + 0x68], dl
mov byte [esp + 0x69], dh
mov ecx, esi
shr ecx, 0x10
mov byte [esp + 0x6a], cl
mov ecx, esi
shr ecx, 0x18
mov byte [esp + 0x6b], cl
mov dword [esp + 0x44], 0x38
mov dword [esp + 0x90], 0x30
mov ecx, 0x28
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x14], 0x17
mov eax, dword [esp + 0x10]
mov edx, eax
mov byte [esp + 0x23], al
mov dword [esp + 0x54], 0x16
mov dword [esp + 0x98], 0x15
mov edi, 0x14
jmp 0x40633a
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x405a24
test edx, edx
je 0x4062f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405a24
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], 0x18
mov dword [esp + 0x90], 0x10
mov ecx, 8
mov dword [esp + 0x14], 0xf
mov dword [esp + 0x54], 0xe
mov edx, esi
mov byte [esp + 0x23], dl
mov dword [esp + 0x98], 0xd
mov edi, 0xc
mov dword [esp + 0x24], 0x10
mov edx, esi
mov ebx, dword [esp + 0x10]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x23]
mov byte [esp + edi + 0x58], al
test cl, 0x20
jne 0x406355
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x10]
shrd edx, eax, cl
mov edi, dword [esp + 0x98]
mov byte [esp + edi + 0x58], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x40637b
mov ebx, edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0x54]
mov byte [esp + esi + 0x58], bl
shr eax, cl
test cl, 0x20
jne 0x406399
mov eax, edx
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx + 0x58], al
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x24]
push esi
push eax
push dword [esp + 0x14]
push dword [esp + 0x24]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405a24
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], eax
adc dword [esp + 0xc], 0
cmp dword [esp + 4], 0
je 0x406433
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x30]
mov eax, 0
sbb eax, dword [esp + 0x34]
jb 0x4063f5
xor eax, eax
jmp 0x4063f9
lea eax, [esp + 0x30]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x38]
mov ecx, 0
sbb ecx, dword [esp + 0x3c]
jb 0x406414
mov edi, 0
jmp 0x406418
lea edi, [esp + 0x48]
jae 0x40641e
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.00406570
add esp, 8
mov dword [esp + 8], eax
movzx ebx, word [esp + 0x94]
movzx esi, word [esp + 0x1c]
movzx eax, word [esp + 8]
movzx edi, word [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x30]
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0
push 0
push ebx
push esi
push dword [esp + 0xc0]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0xd8]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x48]
push edi
call fcn.00406650
add esp, 0x4c
test eax, eax
je 0x405a24
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405a26