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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edi
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x20]
mov ebx, 6
test eax, eax
js 0x405edb
mov ebx, eax
mov eax, edi
mov dword [esp + 0x3c], ecx
or eax, ecx
je 0x405eef
mov ecx, ebx
and ecx, 0x400
jmp 0x405f02
mov eax, ebx
and eax, 0x400
xor ecx, ecx
cmp dword [ebp + 0x14], 0
je 0x405f08
test eax, eax
jne 0x405f08
mov eax, ecx
mov cx, 8
test ebx, 0x10000
mov dword [esp + 4], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
jne 0x405f25
movzx ecx, cx
or ecx, 0x800
mov dword [esp + 0x88], ecx
mov dword [esp + 0x38], ebx
and ebx, 0xf
sete cl
test eax, eax
setne dl
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x48]
mov dword [esp + 8], edi
test edi, edi
je 0x405fac
cmp dword [esi + 0x14], 2
jne 0x405fac
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
je 0x405f67
test esi, esi
mov esi, dword [ebp + 8]
je 0x405fac
cmp dword [ebp + 0x10], 0
jne 0x405f6e
jmp 0x405fac
test esi, esi
mov esi, dword [ebp + 8]
je 0x405fac
cmp word [ebp + 0x1c], 0
setne ch
cmp dword [ebp + 0x18], 0
sete dh
test dh, ch
jne 0x405fac
cmp ebx, 0xb
jae 0x405fac
mov edi, dword [esp + 8]
mov edi, dword [edi + 0x34]
mov esi, dword [esi + 0x10]
test edi, edi
je 0x405fbd
mov dword [esp + 0xc], edi
cmp esi, 0xffffffff
mov esi, dword [ebp + 0xc]
jne 0x405fec
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x405fb3
mov dword [esi + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, esi
cmp dword [esp + 0x3c], 0
mov esi, dword [ebp + 0xc]
jne 0x405fd9
mov dword [esp + 0xc], 0
cmp edi, 0xffff
jne 0x405fec
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 1
mov dword [esp + 0xc], 1
or cl, dl
movzx ecx, cl
test eax, eax
je 0x406006
cmp byte [esi], 0x2f
jne 0x406020
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405fb3
mov eax, dword [esp + 4]
or eax, dword [esp + 0x3c]
je 0x4060c3
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x405fb3
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x8c], eax
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00409470
add esp, 4
cmp eax, 0x10000
jb 0x40604f
mov dword [esi + 0x1c], 0x19
jmp 0x405fb3
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
xor ecx, ecx
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
or edx, eax
mov edx, 0
je 0x40607a
mov edx, 0xfffffffe
add edx, eax
inc edx
mov ebx, dword [esi]
and ebx, edx
sub eax, ebx
and eax, edx
mov edx, eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 8]
mov ebx, dword [eax + 4]
xor edx, edx
mov dword [esp + 0x4c], ebx
add ebx, dword [esp + 0x34]
setb dl
add ebx, 0x4a
adc edx, 0
movzx esi, word [ebp + 0x1c]
mov eax, ebx
and eax, esi
add eax, eax
xor ebx, esi
add ebx, eax
adc edx, 0
mov eax, 0xfffffffe
cmp eax, ebx
sbb ecx, edx
jae 0x406124
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405fb3
cmp byte [esi], 0x2f
je 0x405ffa
mov edi, ecx
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push 0
call fcn.00403b50
add esp, 0xc
mov dword [esp + 0x8c], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
mov ecx, 0
cmp esi, 4
jb 0x406106
mov ecx, ebx
mov eax, 1
jb 0x40610f
mov eax, edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 4], edi
mov dword [esp + 0x1c], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
jmp 0x406031
cmp dword [esp + 0xc], 0
jne 0x40619a
mov eax, dword [esp + 0x34]
mov ebx, eax
shr ebx, 0x1f
add eax, eax
xor edx, edx
mov ecx, esi
add ecx, dword [ebp + 0x38]
setb dl
add ecx, eax
adc edx, ebx
add ecx, dword [esp + 0x30]
adc edx, 0
add ecx, dword [esp + 0x4c]
adc edx, 0
mov eax, dword [ebp + 8]
add ecx, dword [eax]
adc edx, dword [eax + 4]
add ecx, 0x62
adc edx, 0
mov eax, ecx
mov edi, dword [ebp + 0x40]
and eax, edi
mov ebx, eax
shr ebx, 0x1f
add eax, eax
xor ecx, edi
add ecx, eax
adc ebx, edx
add ecx, 0x10
adc ebx, 0xffffffff
mov dword [esp + 0xc], 0
cmp ebx, 0xffffffff
je 0x40619a
mov eax, dword [esp + 8]
mov dword [eax + 0x34], 1
mov dword [esp + 0xc], 1
xor edx, edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov eax, dword [ebp + 0xc]
je 0x4061ce
cmp byte [ecx + eax - 1], 0x2f
mov ebx, dword [ebp + 8]
jne 0x4061ce
cmp dword [ebp + 0x14], 0
jne 0x40637e
mov edx, 0x10
mov eax, dword [esp + 4]
or eax, dword [esp + 0x3c]
jne 0x40637e
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4061df
mov edx, 0x1c
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x4c]
add ecx, eax
lea eax, [edx + ecx]
add eax, 0x2e
mov ebx, dword [esp + 8]
mov edx, dword [ebx + 8]
cmp edx, eax
mov dword [esp + 0x98], esi
jae 0x406236
mov ecx, 1
test edx, edx
je 0x40620b
mov ecx, edx
mov edi, ecx
add ecx, ecx
cmp edi, eax
jb 0x40620b
push edi
mov ebx, dword [esp + 0xc]
push dword [ebx + 0xc]
push dword [ebx]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x30]
add esp, 0x10
test eax, eax
je 0x406360
mov dword [ebx], eax
mov dword [ebx + 8], edi
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
inc eax
cmp edx, eax
jae 0x406279
mov ecx, 1
test edx, edx
je 0x40624c
mov ecx, edx
mov edi, ecx
add ecx, ecx
cmp edi, eax
jb 0x40624c
push edi
mov ebx, dword [esp + 0xc]
push dword [ebx + 0x1c]
push dword [ebx + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x30]
add esp, 0x10
test eax, eax
je 0x406360
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], edi
xor eax, eax
cmp dword [ebp + 0x14], 0
mov edi, dword [esp + 0x30]
je 0x4062a7
cmp dword [esp + 0x1c], 0
jne 0x4062a7
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x40638a
mov dword [esp + 4], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [esp + 0x10]
mov edx, esi
push edi
mov edi, dword [esp + 0x18]
push edi
call fcn.00406ab0
add esp, 8
test eax, eax
je 0x40636c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
add eax, edx
adc ecx, 0
add esi, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
adc edi, 0
mov dword [esp + 0x14], edi
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
cmp dword [esp + 0x1c], 0
je 0x406354
mov esi, dword [esp + 0x38]
mov edx, esi
xor edx, 0xfffffbff
or esi, 0x400
test esi, edx
je 0x406399
mov dx, 8
mov dword [esp + 0x38], edx
mov bl, 0x14
jmp 0x4063a3
mov dword [esi + 0x1c], 0x10
jmp 0x405fb3
push dword [esp + 4]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
jmp 0x405fb3
mov dword [ebx + 0x1c], 0x18
jmp 0x405fb3
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405fb3
xor ebx, ebx
mov dword [esp + 0x38], 0
mov edx, dword [esp + 8]
cmp dword [edx + 0x34], 0
je 0x4063ec
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov ebx, 0xfffffffe
cmp ebx, edi
mov edx, 0
sbb edx, esi
jb 0x4064dd
xor edx, edx
cmp ebx, eax
sbb edx, ecx
jb 0x4064dd
xor edi, edi
mov ebx, dword [esp + 0xc]
jmp 0x406536
cmp dword [esp + 0x44], 0
jne 0x4068b6
cmp dword [esp + 0x14], 0
jne 0x4068b6
mov dword [esp + 0x68], 0x4034b50
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x88]
movzx edx, bx
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], dh
mov edx, dword [esp + 0x38]
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 + 0x34]
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 0x4066d9
mov eax, dword [esp + 0x10]
add eax, 0x1e
mov edi, dword [esp + 0x14]
adc edi, 0
push ebx
push dword [ebp + 0xc]
push edi
mov dword [esp + 0x1c], eax
push eax
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4066e5
mov ecx, dword [esp + 0x10]
add ecx, ebx
adc edi, 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x38]
mov edx, edi
jmp 0x406644
xor edx, edx
cmp ebx, eax
mov eax, 0
sbb eax, ecx
jb 0x4064ee
xor eax, eax
jmp 0x4064f2
lea eax, [esp + 0x20]
mov ecx, 0xfffffffe
cmp ecx, edi
mov ecx, 0
sbb ecx, esi
mov ebx, dword [esp + 0xc]
jb 0x40650d
mov esi, 0
jmp 0x406511
lea esi, [esp + 0x40]
jae 0x406517
lea edx, [esp + 0x28]
lea ecx, [esp + 0xa0]
mov dword [esp + 8], ecx
push eax
push esi
call fcn.00406b50
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x68], 0x4034b50
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0
movzx edx, word [esp + 0x88]
mov byte [esp + 0x6e], dl
mov byte [esp + 0x6f], dh
mov edx, dword [ebp + 0x38]
add edx, edi
mov ebx, dword [esp + 0x38]
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 + 0x34]
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 0x4066d9
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 0x14]
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 0x4066c9
add edi, ebx
adc esi, 0
cmp dword [esp + 8], 0
mov ecx, edi
mov edx, esi
je 0x406636
lea eax, [esp + 0xa0]
mov ebx, dword [esp + 0xc]
push ebx
push eax
push edx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov edi, ecx
mov esi, edx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x406677
add edi, ebx
adc esi, 0
mov eax, dword [ebp + 0x38]
mov ecx, edi
mov edx, esi
jmp 0x406641
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 8]
test eax, eax
je 0x406686
push eax
push dword [ebp + 0x34]
push edx
push ecx
push dword [esi + 0x44]
mov edi, ecx
mov eax, esi
mov esi, edx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
jne 0x406677
add edi, eax
adc esi, 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, esi
jmp 0x40668d
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405fb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4066eb
push ebx
push dword [ebp + 0x10]
push edx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov edi, ecx
mov esi, edx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4066c9
add edi, ebx
mov dword [esp + 0x10], edi
adc esi, 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0
jmp 0x4067b6
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 0x405fb3
push dword [esp + 4]
jmp 0x4066d0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
test ebx, ebx
je 0x4067b6
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x48]
mov ecx, eax
cmp eax, 0xa
jb 0x406732
mov ecx, 0xa
xor eax, eax
mov edx, dword [esp + 0x48]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x43ea58]
test edx, edx
jne 0x406751
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x406bc0
mov esi, dword [esp + 0x10]
push esi
call fcn.00405120
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
push 4
push 0
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.00403c80
add esp, 0x18
cmp eax, 1
jne 0x4068c5
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 + 0x14], 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 + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp + 4], eax
or ecx, eax
je 0x4069c5
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x8c]
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 + 8], 0
je 0x4068b2
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 + 0x30], 0x38
mov dword [esp + 0x94], 0x30
mov ecx, 0x28
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x4c], 0x17
mov eax, dword [esp + 4]
mov edx, eax
mov byte [esp + 0x1b], al
mov dword [esp + 0x48], 0x16
mov dword [esp + 0x90], 0x15
mov edi, 0x14
jmp 0x40692b
test edx, edx
je 0x4068e1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405fb3
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 0x405fb3
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x94], 0x10
mov ecx, 8
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0xe
mov edx, esi
mov byte [esp + 0x1b], dl
mov dword [esp + 0x90], 0xd
mov edi, 0xc
mov dword [esp + 0x1c], 0x10
mov edx, esi
mov ebx, dword [esp + 4]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x1b]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x406946
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 4]
shrd edx, eax, cl
mov edi, dword [esp + 0x90]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x40696c
mov ebx, edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 4]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0x48]
mov byte [esp + esi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x40698a
mov eax, edx
mov ecx, dword [esp + 0x4c]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x1c]
push esi
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405fb3
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], eax
adc dword [esp + 0x14], 0
cmp dword [esp + 8], 0
je 0x406a24
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x20]
mov eax, 0
sbb eax, dword [esp + 0x24]
jb 0x4069e6
xor eax, eax
jmp 0x4069ea
lea eax, [esp + 0x20]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x28]
mov ecx, 0
sbb ecx, dword [esp + 0x2c]
jb 0x406a05
mov edi, 0
jmp 0x406a09
lea edi, [esp + 0x40]
jae 0x406a0f
lea edx, [esp + 0x28]
lea ecx, [esp + 0xa0]
push eax
push edi
call fcn.00406b50
add esp, 8
mov dword [esp + 0xc], eax
movzx ebx, word [esp + 0x88]
movzx esi, word [esp + 0x38]
movzx eax, word [esp + 0xc]
movzx edi, word [esp + 0x34]
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 + 0x30]
push dword [esp + 0x30]
push 0
push 0
push ebx
push esi
push dword [esp + 0xb0]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0xd0]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x4c]
push edi
call fcn.00406c10
add esp, 0x4c
test eax, eax
je 0x405fb3
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405fb5