Function at 0x405d40
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 ecx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
mov esi, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], esi
mov dword [esp + 4], 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 0x405d93
mov ebx, eax
mov esi, dword [ebp + 0x14]
mov eax, ecx
or eax, edi
je 0x405da5
mov eax, ebx
and eax, 0x400
jmp 0x405dcb
mov dword [esp], ecx
mov ecx, edi
mov edi, ebx
and ebx, 0x400
xor eax, eax
test esi, esi
mov dword [esp + 0x24], ebx
je 0x405e7c
test ebx, ebx
mov ebx, edi
mov edi, ecx
mov ecx, dword [esp]
jne 0x405dd3
mov dword [esp + 0x24], eax
mov ax, 8
test ebx, 0x10000
mov dword [esp + 0x3c], edi
jne 0x405de7
movzx eax, ax
or eax, 0x800
mov dword [esp + 0x90], eax
mov eax, ebx
xor eax, 0xfffffff0
or ebx, 0xf
and ebx, eax
sete byte [esp + 0x20]
cmp dword [esp + 0x24], 0
setne byte [esp + 8]
mov edi, dword [edx + 0x48]
test edi, edi
je 0x405ebb
cmp dword [edx + 0x14], 2
jne 0x405ebb
mov eax, dword [ebp + 0xc]
test esi, esi
je 0x405e3a
test eax, eax
mov eax, dword [esp + 0x24]
je 0x405ebb
cmp dword [ebp + 0x10], 0
jne 0x405e42
jmp 0x405ebb
test eax, eax
mov eax, dword [esp + 0x24]
je 0x405ebb
cmp word [ebp + 0x1c], 0
mov dword [esp], ecx
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
mov edx, dword [ebp + 8]
jne 0x405ebb
cmp ebx, 0xb
jae 0x405ebb
mov esi, dword [edi + 0x34]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0xc], esi
test esi, esi
je 0x405e88
cmp ecx, 0xffffffff
jne 0x405eae
mov dword [edx + 0x1c], 2
jmp 0x405ec2
mov ebx, edi
mov edi, ecx
mov ecx, dword [esp]
jmp 0x405dd3
cmp dword [esp + 0x3c], 0
jne 0x405e9f
mov dword [esp + 0xc], 0
cmp ecx, 0xffff
jne 0x405eae
mov dword [edi + 0x34], 1
mov dword [esp + 0xc], 1
mov ecx, dword [esp]
or ecx, dword [esp + 0x3c]
je 0x405ecc
test eax, eax
jne 0x405ecc
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 0x405edd
mov dword [edx + 0x1c], 0x19
jmp 0x405ec2
test eax, eax
je 0x405ef6
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x94], eax
mov byte [esp + 8], 1
movzx esi, word [ebp + 0x1c]
jmp 0x405f51
movzx eax, byte [esp + 0x20]
or byte [esp + 8], al
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push 0
call fcn.00403a80
add esp, 0xc
mov dword [esp + 0x94], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0
mov eax, 0
cmp esi, 4
setb cl
movzx esi, word [ebp + 0x1c]
jb 0x405f3e
mov eax, ebx
or cl, byte [esp + 8]
mov byte [esp + 8], cl
mov ecx, dword [ebp + 0x14]
mov dword [esp], ecx
mov ebx, eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409100
add esp, 4
cmp eax, 0x10000
jb 0x405f70
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405ec2
mov dword [esp + 0x20], eax
movzx eax, si
mov dword [esp + 0x98], eax
mov dword [esp + 0x1c], 0
mov esi, 0xfffffffe
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, ecx
mov edx, 0
je 0x405fab
lea edx, [esi + 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 esi, dword [edi + 4]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov eax, ecx
add eax, dword [esp + 0x98]
setb dl
mov dword [esp + 0x8c], eax
mov dword [esp + 0x18], esi
add eax, esi
adc edx, 0
add eax, 0x4a
adc edx, 0
mov esi, 0xfffffffe
cmp esi, eax
sbb dword [esp + 0x1c], edx
jae 0x405ff6
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405ec2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x406067
mov eax, ecx
shr eax, 0x1f
mov esi, eax
add ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x98]
setb dl
add eax, dword [ebp + 0x38]
adc edx, 0
add eax, ecx
adc edx, esi
add eax, dword [esp + 0x4c]
adc edx, 0
mov ecx, dword [ebp + 8]
add eax, dword [ecx]
adc edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
add eax, 0x4c
adc edx, 0
lea esi, [eax + eax]
and esi, 0x2c
xor eax, 0x16
add eax, dword [ebp + 0x40]
adc edx, 0xffffffff
add eax, esi
adc edx, 0
add eax, 0x10
adc edx, 0
xor eax, eax
cmp edx, 0xffffffff
je 0x406067
mov dword [edi + 0x34], 1
mov eax, 1
mov dword [esp + 0xc], eax
xor edx, edx
test ecx, ecx
mov esi, dword [ebp + 0x14]
je 0x40609b
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
mov eax, dword [ebp + 8]
jne 0x40609b
test esi, esi
jne 0x40629e
mov edx, 0x10
mov ecx, dword [esp]
or ecx, dword [esp + 0x3c]
jne 0x40629e
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4060ac
mov eax, 0x1c
mov ecx, dword [esp + 0x8c]
add eax, ecx
add eax, 0x2e
mov ecx, eax
mov edx, dword [esp + 0x18]
and ecx, edx
xor eax, edx
lea eax, [eax + ecx*2]
mov edx, dword [edi + 8]
cmp edx, eax
mov dword [esp + 0x38], edi
jae 0x406109
mov ecx, 1
test edx, edx
je 0x4060db
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x4060db
push esi
push dword [edi + 0xc]
push dword [edi]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x406281
mov edi, dword [esp + 0x38]
mov dword [edi], eax
mov dword [edi + 8], esi
mov esi, dword [ebp + 0x14]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp ecx, eax
jae 0x406159
mov edx, 1
test ecx, ecx
je 0x406129
mov edx, ecx
mov esi, edx
add edx, edx
cmp esi, eax
jb 0x406129
push esi
push dword [edi + 0x1c]
push dword [edi + 0x10]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x406281
mov edi, dword [esp + 0x38]
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], esi
mov esi, dword [ebp + 0x14]
test esi, esi
sete cl
xor eax, eax
or cl, byte [esp + 8]
jne 0x406181
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x4063ac
mov dword [esp], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
push edi
push dword [esp + 8]
call fcn.00406980
add esp, 8
test eax, eax
je 0x40628d
cmp dword [esp + 0x24], 0
setne dl
mov ecx, dword [esp + 0x28]
mov esi, ecx
and esi, edi
mov eax, esi
shr eax, 0x1f
add esi, esi
xor ecx, edi
add ecx, esi
adc eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
add dword [esp + 0x10], edi
mov esi, dword [esp + 4]
adc esi, 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 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
movzx eax, byte [esp + 8]
xor al, 1
or al, dl
mov byte [esp + 0xc], al
movzx edx, al
shl edx, 3
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x34], 0
je 0x4062aa
mov edi, 0xfffffffe
cmp edi, dword [esp + 0x30]
mov edx, 0
sbb edx, dword [esp + 0x34]
mov dword [esp + 4], esi
jae 0x4063bb
xor esi, esi
cmp edi, ecx
mov eax, 0
sbb eax, dword [esp + 0x1c]
jae 0x406274
lea esi, [esp + 0x28]
lea eax, [esp + 0x40]
lea edx, [esp + 0x30]
jmp 0x4063d2
mov dword [edi + 0x1c], 0x10
jmp 0x405ec2
push dword [esp]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
jmp 0x405ec2
mov dword [eax + 0x1c], 0x18
jmp 0x405ec2
cmp dword [esp + 0x44], 0
jne 0x4067a5
test esi, esi
jne 0x4067a5
mov dword [esp + 4], esi
mov dword [esp + 0x6c], 0x4034b50
movzx eax, byte [esp + 0xc]
test al, al
je 0x4062d4
mov al, 0x14
mov byte [esp + 0x70], al
mov edx, dword [esp + 0x90]
movzx eax, dx
mov byte [esp + 0x72], dl
mov byte [esp + 0x73], ah
mov edx, dword [esp + 0x24]
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 eax, dword [esp + 0x20]
mov byte [esp + 0x86], al
mov edi, eax
mov byte [esp + 0x87], ah
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x88], dl
mov byte [esp + 0x89], dh
lea edx, [esp + 0x6c]
push 0x1e
push edx
push dword [esp + 0x24]
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4065aa
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x10]
add ebx, 0x1e
mov eax, esi
mov esi, dword [esp + 4]
adc esi, 0
push edi
push dword [ebp + 0xc]
push esi
push ebx
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x40659b
add ebx, edi
adc esi, 0
mov dword [esp + 4], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x406516
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405ec2
cmp edi, ecx
mov edx, 0
mov esi, dword [esp + 0x1c]
sbb edx, esi
jae 0x4063f3
lea esi, [esp + 0x28]
xor eax, eax
xor edx, edx
lea edi, [esp + 0xa0]
mov ecx, edi
push esi
push eax
call fcn.00406a20
add esp, 8
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
jmp 0x4063fd
xor eax, eax
mov dword [esp + 0x18], 0
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x1c], eax
lea edi, [eax + edx]
mov dword [esp + 0x6c], 0x4034b50
movzx eax, byte [esp + 0xc]
test al, al
je 0x40641a
mov al, 0x14
mov byte [esp + 0x70], al
mov byte [esp + 0x71], 0
movzx edx, word [esp + 0x90]
mov byte [esp + 0x72], dl
mov byte [esp + 0x73], dh
mov edx, dword [esp + 0x24]
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 eax, dword [esp + 0x20]
mov byte [esp + 0x86], al
mov byte [esp + 0x87], ah
mov eax, edi
mov byte [esp + 0x88], al
mov byte [esp + 0x89], ah
lea edx, [esp + 0x6c]
push 0x1e
push edx
push esi
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4065aa
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 4]
adc esi, 0
push dword [esp + 0x20]
push dword [ebp + 0xc]
push esi
push edi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jne 0x40659b
mov eax, ecx
add edi, ecx
adc esi, 0
cmp dword [esp + 0x18], 0
mov ecx, edi
mov dword [esp + 0x48], ebx
je 0x40651a
lea eax, [esp + 0xa0]
mov edi, dword [esp + 0x1c]
push edi
push eax
push esi
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov ebx, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x4065b6
add ebx, edi
adc esi, 0
mov dword [esp + 4], esi
mov ecx, ebx
jmp 0x406526
mov dword [esp + 4], esi
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x406557
push eax
push dword [ebp + 0x34]
mov edi, dword [esp + 0xc]
push edi
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov esi, ecx
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x4065b6
add esi, ecx
adc edi, 0
mov dword [esp + 4], edi
mov ecx, esi
cmp byte [esp + 8], 0
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
je 0x4065c5
push esi
push dword [ebp + 0x10]
push dword [esp + 0xc]
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40659b
mov eax, dword [ebp + 0x14]
add dword [esp + 0x10], eax
adc dword [esp + 4], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
jmp 0x40668f
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 0x405ec2
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405ec2
test esi, esi
je 0x40668f
mov eax, dword [esp + 0x48]
mov ecx, eax
mov edx, eax
cmp eax, 0xa
jb 0x4065df
mov ecx, 0xa
test edx, edx
jns 0x4065e8
mov ecx, 6
xor eax, eax
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x43e968]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
test edx, edx
jne 0x40662a
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x405e90
mov esi, dword [esp + 0xc]
push esi
call fcn.00404ff0
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.00403ba0
add esp, 0x18
cmp eax, 1
jne 0x406786
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 + 4], 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 esi, ecx
mov dword [esp + 8], eax
or ecx, eax
je 0x40688f
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 + 0x18], 0
je 0x4067a1
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 + 0x8c], 0x38
mov dword [esp + 0x38], 0x30
mov ecx, 0x28
mov dword [esp], 0x18
mov dword [esp + 0xc], 0x17
mov eax, dword [esp + 8]
mov edx, eax
mov byte [esp + 0x17], al
mov dword [esp + 0x4c], 0x16
mov dword [esp + 0x48], 0x15
mov edi, 0x14
jmp 0x4067fa
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 0x405ec2
test edx, edx
je 0x4067b4
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405ec2
mov dword [esp + 0x58], ecx
mov dword [esp + 0x8c], 0x18
mov dword [esp + 0x38], 0x10
mov ecx, 8
mov dword [esp + 0xc], 0xf
mov dword [esp + 0x4c], 0xe
mov edx, esi
mov byte [esp + 0x17], dl
mov dword [esp + 0x48], 0xd
mov edi, 0xc
mov dword [esp], 0x10
mov edx, esi
mov ebx, dword [esp + 8]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x17]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x406815
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 8]
shrd edx, eax, cl
mov edi, dword [esp + 0x48]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x406835
mov ebx, edx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 8]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0x4c]
mov byte [esp + esi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x406856
mov eax, edx
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp]
push esi
push eax
push dword [esp + 0xc]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405ec2
mov eax, dword [esp]
add dword [esp + 0x10], eax
adc dword [esp + 4], 0
cmp dword [esp + 0x18], 0
je 0x4068ee
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x28]
mov eax, 0
sbb eax, dword [esp + 0x2c]
jb 0x4068b0
xor eax, eax
jmp 0x4068b4
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x30]
mov ecx, 0
sbb ecx, dword [esp + 0x34]
jb 0x4068cf
mov edi, 0
jmp 0x4068d3
lea edi, [esp + 0x40]
jae 0x4068d9
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa0]
push eax
push edi
call fcn.00406a20
add esp, 8
mov dword [esp + 0x1c], eax
movzx ebx, word [esp + 0x90]
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 + 0xcc]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x58]
push edi
call fcn.00406ae0
add esp, 0x48
test eax, eax
je 0x405ec2
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405ec4