Function at 0x405a00
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 ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov eax, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov ecx, dword [ebp + 0x20]
mov eax, 6
test ecx, ecx
js 0x405a4f
mov eax, ecx
mov ecx, esi
mov dword [esp + 0x10], ebx
or ecx, ebx
je 0x405a63
mov ecx, eax
and ecx, 0x400
jmp 0x405a77
mov ebx, eax
and ebx, 0x400
xor ecx, ecx
cmp dword [ebp + 0x14], 0
je 0x405a7d
test ebx, ebx
jne 0x405a7d
mov ebx, ecx
mov cx, 8
test eax, 0x10000
mov dword [esp + 0x18], edi
jne 0x405a91
movzx ecx, cx
or ecx, 0x800
mov dword [esp + 0x94], ecx
mov edi, eax
not edi
or edi, 0xf
add edi, eax
inc edi
sete al
mov dword [esp + 4], ebx
test ebx, ebx
setne bl
mov ecx, dword [edx + 0x48]
mov dword [esp + 8], ecx
test ecx, ecx
je 0x405c0b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 2
jne 0x405c0b
cmp dword [ebp + 0x14], 0
sete cl
cmp dword [ebp + 0x10], 0
setne dl
cmp dword [ebp + 0xc], 0
je 0x405c0b
or dl, cl
je 0x405c0b
cmp word [ebp + 0x1c], 0
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
jne 0x405c0b
cmp edi, 0xb
jae 0x405c0b
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x405b33
cmp edx, 0xffffffff
jne 0x405b5d
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x405c15
cmp dword [esp + 0x10], 0
jne 0x405b4a
mov dword [esp + 0x20], 0
cmp edx, 0xffff
jne 0x405b5d
mov ecx, dword [esp + 8]
mov dword [ecx + 0x34], 1
mov dword [esp + 0x20], 1
cmp dword [esp + 4], 0
je 0x405c05
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x2f
je 0x405c2d
mov ebx, dword [ebp + 0x2c]
mov byte [esp + 0x28], 1
push dword [ebp + 0xc]
call fcn.00408fa0
add esp, 4
cmp eax, 0x10000
jae 0x405c2d
mov ecx, eax
mov dword [esp + 0xa0], ebx
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x98], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov ecx, eax
call fcn.00406670
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
xor edx, edx
mov dword [esp + 0x14], ecx
add ecx, dword [esp + 0x98]
setb dl
mov dword [esp + 0x90], ecx
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
adc edx, 0
mov dword [esp + 0x44], eax
add ecx, 0x4a
adc edx, 0
mov eax, 0xfffffffe
cmp eax, ecx
mov eax, 0
sbb eax, edx
jae 0x405c39
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405c17
or esi, dword [esp + 0x10]
je 0x405c21
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x2f
jne 0x405d17
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405c15
mov ebx, dword [esp + 0x20]
test ebx, ebx
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
jne 0x405cd2
xor eax, eax
mov ebx, ecx
add ebx, dword [esp + 0x44]
setb al
add ebx, dword [edx]
adc eax, dword [edx + 4]
add ebx, 0x4c
adc eax, 0
mov dword [esp + 0x20], eax
mov eax, ebx
and eax, ecx
mov edx, eax
shr edx, 0x1f
mov dword [esp + 0x8c], edx
add eax, eax
xor ebx, ecx
mov ecx, dword [esp + 0x90]
add ecx, dword [ebp + 0x38]
mov edx, dword [esp + 0x24]
adc edx, 0
add ecx, ebx
adc edx, dword [esp + 0x20]
add ecx, eax
adc edx, dword [esp + 0x8c]
lea eax, [ecx + ecx]
and eax, 0x2c
xor ecx, 0x16
add ecx, dword [ebp + 0x40]
adc edx, 0xffffffff
add ecx, eax
adc edx, 0
add ecx, 0x10
mov ecx, dword [esp + 0x2c]
adc edx, 0
xor ebx, ebx
cmp edx, 0xffffffff
mov edx, dword [ebp + 8]
je 0x405cd2
mov eax, dword [esp + 8]
mov dword [eax + 0x34], 1
mov ebx, 1
test ecx, ecx
je 0x405d5c
mov dword [esp + 0x20], 0
mov eax, ecx
xor eax, 0xfffffffe
and ecx, 0xfffffffe
lea eax, [eax + ecx*2]
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + eax + 1], 0x2f
jne 0x405d64
cmp dword [ebp + 0x14], 0
jne 0x405d0b
mov dword [esp + 0x20], 0x10
or esi, dword [esp + 0x10]
je 0x405d64
mov dword [edx + 0x1c], 0x18
jmp 0x405c15
or bl, al
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push 0
call fcn.00403750
add esp, 0xc
mov dword [esp + 0x10], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov ecx, 0
cmp esi, 4
setb dl
jb 0x405d4d
mov ecx, edi
or dl, bl
mov byte [esp + 0x28], dl
mov edi, ecx
mov ebx, eax
jmp 0x405b7c
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x405d6d
mov ebx, 0x1c
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
lea eax, [ebx + ecx]
add eax, 0x2e
mov ebx, dword [esp + 8]
mov edx, dword [ebx + 8]
cmp edx, eax
jae 0x405dc7
mov ecx, 1
test edx, edx
je 0x405d9c
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405d9c
push esi
push dword [ebx + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x30]
add esp, 0x10
test eax, eax
je 0x405f3b
mov ebx, dword [esp + 8]
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 0x405e0a
mov ecx, 1
test edx, edx
je 0x405ddd
mov ecx, edx
mov esi, ecx
add ecx, ecx
cmp esi, eax
jb 0x405ddd
push esi
push dword [ebx + 0x1c]
push dword [ebx + 0x10]
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x30]
add esp, 0x10
test eax, eax
je 0x405f3b
mov ecx, dword [esp + 8]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], esi
cmp dword [ebp + 0x14], 0
sete cl
xor eax, eax
or cl, byte [esp + 0x28]
jne 0x405e34
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x406064
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x44]
push esi
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.004066b0
add esp, 8
test eax, eax
je 0x405f47
cmp dword [esp + 4], 0
setne dl
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add ecx, esi
adc eax, 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xc]
add ecx, esi
adc ebx, 0
mov dword [esp + 0x18], ebx
mov dword [esp + 4], eax
mov dword [esp + 0x34], 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 ebx, byte [esp + 0x28]
xor bl, 1
or bl, dl
movzx edx, bl
shl edx, 3
mov dword [esp + 0x44], edx
mov eax, dword [esp + 8]
cmp dword [eax + 0x34], 0
je 0x405f5c
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov eax, 0xfffffffe
mov dword [esp + 0x24], edx
cmp eax, edx
mov edx, 0
sbb edx, ecx
mov eax, dword [esp + 0x10]
jb 0x406073
xor edx, edx
mov esi, 0xfffffffe
cmp esi, eax
sbb edx, dword [esp + 4]
jb 0x406073
xor eax, eax
jmp 0x4060d7
mov dword [ebx + 0x1c], 0x10
jmp 0x405c15
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x405c15
cmp dword [esp + 0x4c], 0
jne 0x40648c
cmp dword [esp + 0x18], 0
jne 0x40648c
mov dword [esp + 0xc], ecx
mov dword [esp + 0x6c], 0x4034b50
test bl, bl
je 0x405f84
mov bl, 0x14
mov byte [esp + 0x70], bl
mov ebx, dword [esp + 0x94]
movzx edx, bx
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], dh
mov edx, dword [esp + 0x44]
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 + 0x2c]
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bh
mov eax, dword [ebp + 0x38]
mov byte [esp + 0x88], al
mov byte [esp + 0x89], ah
lea edx, [esp + 0x6c]
push 0x1e
push edx
push dword [esp + 0xc]
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x406293
mov eax, dword [esp + 0xc]
add eax, 0x1e
mov ecx, esi
mov esi, dword [esp + 0x18]
adc esi, 0
push ebx
push dword [ebp + 0xc]
push esi
mov dword [esp + 0x18], eax
push eax
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x406283
mov ecx, dword [esp + 0xc]
add ecx, ebx
adc esi, 0
mov dword [esp + 8], 0
mov edx, esi
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov esi, ecx
jmp 0x406205
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x405c15
mov edx, ecx
mov ecx, 0xfffffffe
cmp ecx, eax
mov eax, 0
sbb eax, dword [esp + 4]
jb 0x40608b
xor eax, eax
jmp 0x40608f
lea eax, [esp + 0x30]
cmp ecx, dword [esp + 0x24]
mov ecx, 0
sbb ecx, edx
jb 0x4060a3
mov esi, 0
jmp 0x4060a7
lea esi, [esp + 0x48]
mov edx, 0
jae 0x4060b2
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa8]
mov dword [esp + 8], ecx
push eax
push esi
call fcn.00406750
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, eax
mov ecx, dword [ebp + 0x38]
and edx, ecx
mov dword [esp + 0x24], eax
xor eax, ecx
lea edx, [eax + edx*2]
mov dword [esp + 0x6c], 0x4034b50
test bl, bl
je 0x4060f5
mov bl, 0x14
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 + 0x44]
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 + 0x2c]
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 dword [esp + 0xc]
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x406293
mov eax, esi
mov esi, dword [esp + 0xc]
add esi, 0x1e
mov ecx, dword [esp + 0x18]
adc ecx, 0
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
push ecx
push esi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x406283
mov eax, esi
and eax, ebx
mov edx, eax
shr edx, 0x1f
add eax, eax
xor esi, ebx
add esi, eax
adc edx, dword [esp + 0x18]
cmp dword [esp + 8], 0
je 0x4061fa
lea eax, [esp + 0xa8]
mov ebx, dword [esp + 0x24]
push ebx
push eax
push edx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov dword [esp + 0x18], edx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x406232
mov eax, ebx
add esi, ebx
mov edx, dword [esp + 4]
adc edx, 0
jmp 0x406202
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x406241
push ecx
push dword [ebp + 0x34]
push edx
push esi
push dword [eax + 0x44]
mov ebx, edx
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x406232
add esi, ecx
adc ebx, 0
movzx eax, byte [esp + 0x28]
mov edx, ebx
jmp 0x406246
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405c15
movzx eax, byte [esp + 0x28]
test al, al
je 0x40629f
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push edx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov ebx, edx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x406283
add esi, edi
mov dword [esp + 0xc], esi
adc ebx, 0
mov dword [esp + 4], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0
jmp 0x40636d
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 0x405c15
mov dword [esp + 4], edx
mov dword [esp + 0xc], esi
cmp dword [ebp + 0x14], 0
je 0x40636d
mov ecx, edi
cmp edi, 0xa
jb 0x4062bd
mov ecx, 0xa
test edi, edi
jns 0x4062c6
mov ecx, 6
xor eax, eax
cmp edi, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x43da58]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
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 edi, edi
jne 0x406308
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x4067c0
mov esi, dword [esp + 0x20]
push esi
call fcn.00404cf0
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.00403820
add esp, 0x18
cmp eax, 1
jne 0x40646c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], 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 0x406585
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0xa0]
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 + 0x48]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 8], 0
je 0x406488
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 + 0x14], 0x38
mov dword [esp + 0x8c], 0x30
mov ecx, 0x28
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x28], 0x17
mov eax, dword [esp + 0x10]
mov edx, eax
mov byte [esp + 0x1f], al
mov dword [esp + 0x90], 0x16
mov dword [esp + 0x9c], 0x15
mov edi, 0x14
jmp 0x4064e8
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 0x405c15
test edx, edx
je 0x40649b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405c15
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x8c], 0x10
mov ecx, 8
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x90], 0xe
mov edx, esi
mov byte [esp + 0x1f], dl
mov dword [esp + 0x9c], 0xd
mov edi, 0xc
mov dword [esp + 0x18], 0x10
mov edx, esi
mov ebx, dword [esp + 0x10]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x1f]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x406503
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
shrd edx, eax, cl
mov edi, dword [esp + 0x9c]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x406529
mov ebx, edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0x90]
mov byte [esp + esi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x40654a
mov eax, edx
mov ecx, dword [esp + 0x28]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x18]
push esi
push eax
push dword [esp + 0xc]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405c15
mov eax, dword [esp + 0x18]
add dword [esp + 0xc], eax
adc dword [esp + 4], 0
cmp dword [esp + 8], 0
je 0x4065e4
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x30]
mov eax, 0
sbb eax, dword [esp + 0x34]
jb 0x4065a6
xor eax, eax
jmp 0x4065aa
lea eax, [esp + 0x30]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x38]
mov ecx, 0
sbb ecx, dword [esp + 0x3c]
jb 0x4065c5
mov edi, 0
jmp 0x4065c9
lea edi, [esp + 0x48]
jae 0x4065cf
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.00406750
add esp, 8
mov dword [esp + 0x24], eax
movzx ebx, word [esp + 0x94]
movzx esi, word [esp + 0x44]
movzx eax, word [esp + 0x24]
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 + 0x28]
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0
push 0
push ebx
push esi
push dword [esp + 0xc4]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0xd0]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x4c]
push edi
call fcn.00406810
add esp, 0x4c
test eax, eax
je 0x405c15
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ebx, 1
jmp 0x405c17