Function at 0x405450
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 esi, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov ebx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 8], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov ecx, dword [ebp + 0x20]
mov eax, 6
test ecx, ecx
js 0x40549f
mov eax, ecx
mov ecx, edi
or ecx, esi
mov dword [esp + 4], esi
je 0x4054b3
mov ecx, eax
and ecx, 0x400
jmp 0x4054cb
mov esi, eax
and esi, 0x400
xor ecx, ecx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x1c], esi
je 0x4054d3
test esi, esi
jne 0x4054d3
mov dword [esp + 0x1c], ecx
mov cx, 8
test eax, 0x10000
mov dword [esp + 0xc], ebx
jne 0x4054e7
movzx ecx, cx
or ecx, 0x800
mov dword [esp + 0x88], ecx
mov ebx, eax
not ebx
or ebx, 0xf
add ebx, eax
inc ebx
sete al
cmp dword [esp + 0x1c], 0
setne cl
mov esi, dword [edx + 0x48]
test esi, esi
je 0x4055ab
cmp dword [edx + 0x14], 2
jne 0x4055ab
cmp dword [ebp + 0x14], 0
sete dl
cmp dword [ebp + 0x10], 0
setne ah
cmp dword [ebp + 0xc], 0
je 0x4055ab
or ah, dl
je 0x4055ab
cmp word [ebp + 0x1c], 0
setne dl
cmp dword [ebp + 0x18], 0
sete ah
test ah, dl
jne 0x4055ab
cmp ebx, 0xb
jae 0x4055ab
mov dword [esp + 0x10], esi
mov esi, dword [esi + 0x34]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x405572
cmp edx, 0xffffffff
mov esi, dword [esp + 0x10]
jne 0x40559c
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x4055b5
cmp dword [esp + 4], 0
mov esi, dword [esp + 0x10]
jne 0x40558d
mov dword [esp + 0x3c], 0
cmp edx, 0xffff
jne 0x40559c
mov dword [esi + 0x34], 1
mov dword [esp + 0x3c], 1
mov edx, edi
or edx, dword [esp + 4]
je 0x4055bf
cmp dword [esp + 0x1c], 0
jne 0x4055bf
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0x2f
mov edx, dword [ebp + 8]
jne 0x4055d3
mov dword [edx + 0x1c], 0x19
jmp 0x4055b5
or cl, al
movzx eax, cl
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], 0
je 0x4055f3
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x24], ebx
jmp 0x40563e
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push 0
call fcn.00402fb0
add esp, 0xc
mov dword [esp + 0x90], eax
mov dword [esp + 4], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0
mov eax, 0
cmp edi, 4
jb 0x40562b
mov eax, ebx
mov dword [esp + 0x24], eax
mov eax, 1
jb 0x40563a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
push dword [ebp + 0xc]
call fcn.00408a70
add esp, 4
cmp eax, 0x10000
jb 0x40565f
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x4055b5
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
or edx, eax
mov edx, 0
je 0x40568f
mov edx, 0xfffffffe
add edx, eax
inc edx
mov ebx, dword [ecx]
and ebx, edx
sub eax, ebx
and eax, edx
mov edx, eax
mov dword [esp + 0x48], edx
mov eax, dword [esi + 4]
movzx esi, word [ebp + 0x1c]
xor edx, edx
mov dword [esp + 0x4c], eax
add eax, 0x2e
setb dl
mov ebx, eax
mov ecx, dword [esp + 0x38]
xor ebx, ecx
and eax, ecx
mov ecx, eax
shr ecx, 0x1f
add eax, eax
mov dword [esp + 0x8c], esi
add ebx, esi
adc edx, 0
add ebx, eax
adc edx, ecx
add ebx, 0x1c
adc edx, 0
mov eax, 0xfffffffe
cmp eax, ebx
sbb dword [esp + 0x20], edx
jae 0x4056e9
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x4055b5
mov ebx, dword [esp + 0x3c]
test ebx, ebx
mov esi, dword [esp + 0x10]
jne 0x40575e
mov ecx, dword [esp + 0x38]
mov eax, ecx
shr eax, 0x1f
lea ebx, [ecx + ecx]
xor ecx, ecx
mov edx, dword [esp + 0x8c]
add edx, dword [ebp + 0x38]
setb cl
add edx, ebx
adc ecx, eax
add edx, dword [esp + 0x48]
adc ecx, 0
add edx, dword [esp + 0x4c]
adc ecx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax]
adc ecx, dword [eax + 4]
add edx, 0x4c
adc ecx, 0
mov eax, edx
xor eax, 0x16
add edx, edx
and edx, 0x2c
add eax, dword [ebp + 0x40]
adc ecx, 0xffffffff
add eax, edx
adc ecx, 0
add eax, 0x10
adc ecx, 0
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x40575e
mov dword [esi + 0x34], 1
mov ebx, 1
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x405797
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
mov eax, dword [ebp + 8]
jne 0x405797
cmp dword [ebp + 0x14], 0
jne 0x4055ae
mov dword [esp + 0x3c], 0x10
or edi, dword [esp + 4]
jne 0x4055ae
test ebx, ebx
je 0x4057a0
mov ebx, 0x1c
mov eax, dword [esp + 0x8c]
add eax, ecx
add eax, ebx
add eax, 0x2e
mov ecx, eax
mov edx, dword [esp + 0x4c]
and ecx, edx
xor eax, edx
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 8]
cmp ecx, eax
mov edi, dword [ebp + 0x14]
jae 0x405814
mov ebx, esi
mov esi, 1
test ecx, ecx
je 0x4057ec
mov esi, ecx
jmp 0x4057ec
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
cmp esi, eax
jb 0x4057d4
push esi
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 0x4058aa
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov edi, dword [ebp + 0x14]
mov esi, ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp ecx, eax
jae 0x405874
mov ebx, esi
mov esi, 1
test ecx, ecx
je 0x405850
mov esi, ecx
jmp 0x405850
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
cmp esi, eax
jb 0x405838
push esi
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 0x4058aa
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], esi
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x4058b6
cmp dword [esp + 0x18], 0
mov ecx, dword [ebp + 8]
jne 0x4058b9
push 0x4df40
push 1
push dword [ecx + 0x34]
mov eax, dword [ebp + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4058b9
mov dword [ecx + 0x1c], 0x10
jmp 0x4055b5
mov dword [edi + 0x1c], 0x10
jmp 0x4055b5
mov ecx, dword [ebp + 8]
mov dword [esp + 4], eax
mov esi, ecx
mov ebx, dword [esp + 0xc]
mov edx, ebx
mov edi, dword [esp + 0x48]
push edi
push dword [esp + 0xc]
call fcn.004060a0
add esp, 8
test eax, eax
je 0x4059b8
cmp dword [esp + 0x1c], 0
sete 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
mov dword [esp + 0x2c], eax
add ebx, edi
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 8]
adc edi, 0
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 + 0x18], 0
setne bl
and bl, dl
mov edx, ebx
xor dl, 1
movzx edx, dl
shl edx, 3
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x34], 0
je 0x4059ca
mov dword [esp + 8], edi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x10], 0
mov edx, 0xfffffffe
cmp edx, edi
mov edx, 0
mov dword [esp + 0x20], esi
sbb edx, esi
jb 0x4059f8
xor edx, edx
mov esi, 0xfffffffe
cmp esi, ecx
sbb edx, eax
jb 0x4059f8
mov esi, eax
xor eax, eax
jmp 0x405a54
push dword [esp + 4]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
jmp 0x4055b5
cmp dword [esp + 0x44], 0
jne 0x405ea6
test edi, edi
jne 0x405ea6
mov dword [esp + 0x68], 0x4034b50
test bl, bl
mov dword [esp + 8], edi
jne 0x405b5c
mov dl, 0x14
jmp 0x405b5e
xor edx, edx
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, eax
mov eax, 0
sbb eax, ecx
jb 0x405a10
xor eax, eax
jmp 0x405a14
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, edi
mov ecx, 0
sbb ecx, dword [esp + 0x20]
jb 0x405a2d
mov esi, 0
jmp 0x405a31
lea esi, [esp + 0x40]
jae 0x405a37
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], ecx
push eax
push esi
call fcn.00406140
add esp, 8
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x38]
add edx, eax
mov dword [esp + 0x68], 0x4034b50
test bl, bl
mov dword [esp + 0x20], eax
jne 0x405a6d
mov bl, 0x14
jmp 0x405a6f
xor ebx, ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0
movzx ebx, word [esp + 0x88]
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bh
mov ebx, dword [esp + 0x1c]
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 + 0x38]
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 esi
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x405cc9
mov edi, dword [esp + 0xc]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 8]
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 0x405cb9
add edi, ebx
adc esi, 0
cmp dword [esp + 0x10], 0
mov ebx, edi
je 0x405c28
lea eax, [esp + 0xa0]
mov edi, dword [esp + 0x20]
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 0x405c5f
add ebx, edi
adc esi, 0
jmp 0x405c30
xor edx, edx
mov byte [esp + 0x6c], dl
mov ebx, dword [esp + 0x88]
movzx edx, bx
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], dh
mov edx, dword [esp + 0x1c]
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 + 0x38]
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 eax
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x405cc9
mov edi, dword [esp + 0xc]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 8]
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 0x405cb9
add edi, ebx
adc esi, 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0x38]
mov ebx, edi
jmp 0x405c33
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x405c6e
push eax
push dword [ebp + 0x34]
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x405c5f
add ebx, ecx
mov dword [esp + 0xc], ebx
adc esi, 0
mov dword [esp + 8], esi
jmp 0x405c76
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x4055b5
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x18], 0
je 0x405cd5
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405cb9
mov eax, dword [ebp + 0x14]
add dword [esp + 0xc], eax
adc dword [esp + 8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
jmp 0x405da6
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 0x4055b5
cmp dword [ebp + 0x14], 0
je 0x405da6
mov eax, dword [esp + 0x24]
mov ecx, eax
cmp eax, 0xa
jl 0x405cef
mov ecx, 0xa
cmp dword [esp + 0x24], 0
jns 0x405cfb
mov ecx, 6
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x436d28]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
test edx, edx
jne 0x405d41
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x4061b0
mov esi, dword [esp + 0x10]
push esi
call fcn.00404600
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.00403110
add esp, 0x18
cmp eax, 1
jne 0x405eb5
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 + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], 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 esi, ecx
mov dword [esp + 4], eax
or ecx, eax
je 0x405fb5
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x90]
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 + 0x10], 0
je 0x405ea2
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 + 0x4c], 0x38
mov dword [esp + 0x98], 0x30
mov ecx, 0x28
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x24], 0x17
mov eax, dword [esp + 4]
mov edx, eax
mov byte [esp + 0x17], al
mov dword [esp + 0x48], 0x16
mov dword [esp + 0x94], 0x15
mov edi, 0x14
jmp 0x405f1b
test edx, edx
je 0x405ed1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x4055b5
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 0x4055b5
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x98], 0x10
mov ecx, 8
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x48], 0xe
mov edx, esi
mov byte [esp + 0x17], dl
mov dword [esp + 0x94], 0xd
mov edi, 0xc
mov dword [esp + 0x18], 0x10
mov edx, esi
mov ebx, dword [esp + 4]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x17]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x405f36
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 4]
shrd edx, eax, cl
mov edi, dword [esp + 0x94]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x405f5c
mov ebx, edx
mov ecx, dword [esp + 0x4c]
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 0x405f7a
mov eax, edx
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x18]
push esi
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4055b5
mov eax, dword [esp + 0x18]
add dword [esp + 0xc], eax
adc dword [esp + 8], 0
cmp dword [esp + 0x10], 0
je 0x406014
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x28]
mov eax, 0
sbb eax, dword [esp + 0x2c]
jb 0x405fd6
xor eax, eax
jmp 0x405fda
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x30]
mov ecx, 0
sbb ecx, dword [esp + 0x34]
jb 0x405ff5
mov edi, 0
jmp 0x405ff9
lea edi, [esp + 0x40]
jae 0x405fff
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa0]
push eax
push edi
call fcn.00406140
add esp, 8
mov dword [esp + 0x20], eax
movzx ebx, word [esp + 0x88]
movzx esi, word [esp + 0x1c]
movzx eax, word [esp + 0x20]
movzx edi, word [esp + 0x38]
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 + 0xb0]
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0xc0]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x50]
push edi
call fcn.00406200
add esp, 0x48
test eax, eax
je 0x4055b5
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x4055b7