Function at 0x404c50
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 esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], esi
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov ecx, dword [ebp + 0x20]
mov eax, 6
test ecx, ecx
js 0x404c9f
mov eax, ecx
mov dword [esp + 0x18], esi
mov ecx, esi
mov dword [esp + 8], edx
or ecx, edx
je 0x404cbb
mov esi, eax
and esi, 0x400
mov cx, 8
jmp 0x404cd5
cmp dword [ebp + 0x14], 0
setne cl
mov esi, eax
and esi, 0x400
sete dl
and dl, cl
movzx ecx, dl
shl ecx, 3
test eax, 0x10000
mov dword [esp + 0x14], edi
jne 0x404ce9
movzx ecx, cx
or ecx, 0x800
mov dword [esp + 0x88], ecx
mov edi, eax
not edi
or edi, 0xf
add edi, eax
inc edi
sete al
test esi, esi
setne ah
mov ecx, dword [ebx + 0x48]
mov dword [esp + 4], ecx
test ecx, ecx
je 0x404fc6
cmp dword [ebx + 0x14], 2
jne 0x404fc6
cmp dword [ebp + 0x14], 0
sete cl
cmp dword [ebp + 0x10], 0
setne dl
cmp dword [ebp + 0xc], 0
je 0x404fc6
or dl, cl
je 0x404fc6
cmp word [ebp + 0x1c], 0
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
jne 0x404fc6
cmp edi, 0xb
jae 0x404fc6
mov edx, dword [esp + 4]
cmp dword [edx + 0x34], 0
mov ecx, dword [ebx + 0x10]
je 0x404d7e
xor ebx, ebx
cmp ecx, 0xffffffff
jne 0x404d98
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x404fcf
cmp dword [esp + 8], 0
jne 0x404d8f
mov bl, 1
cmp ecx, 0xffff
jne 0x404d98
mov dword [edx + 0x34], 1
xor ebx, ebx
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 8]
je 0x404db5
test esi, esi
jne 0x404db5
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x404fcd
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x2f
je 0x404e39
test esi, esi
je 0x404dd2
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x2c], 1
jmp 0x404e27
or ah, al
mov byte [esp + 0x18], ah
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0
call fcn.00402b90
add esp, 0xc
mov dword [esp + 0x8c], eax
mov dword [esp + 8], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov eax, 0
cmp ecx, 4
setb cl
jb 0x404e16
mov eax, edi
or cl, byte [esp + 0x18]
mov byte [esp + 0x2c], cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x18], ecx
mov edi, eax
push dword [ebp + 0xc]
call fcn.00408110
add esp, 4
cmp eax, 0x10000
jb 0x404e48
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x404fcd
mov dword [esp + 0x34], eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x90], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x24], 0
mov ecx, dword [ecx + 0x24]
or ecx, eax
mov ecx, 0
je 0x404e8c
mov ecx, eax
xor ecx, 1
mov edx, eax
and edx, 0xfffffffe
add edx, edx
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
and ecx, edx
sub eax, ecx
and eax, edx
mov ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + eax]
and ecx, 0x5c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
xor eax, 0x2e
xor ecx, ecx
mov edx, dword [esp + 0x90]
add edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
setb cl
add eax, dword [esp + 0x10]
adc ecx, 0
add eax, dword [esp + 0x28]
adc ecx, 0
add eax, 0x1c
adc ecx, 0
mov edx, 0xfffffffe
cmp edx, eax
sbb dword [esp + 0x24], ecx
jae 0x404eec
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x404fcd
mov edx, 0x1c
test bl, bl
je 0x404f91
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
add ebx, dword [esp + 0x30]
adc edx, 0
lea eax, [ebx + ebx]
and eax, 0x3c
xor ebx, 0x1e
add ebx, eax
adc edx, 0
mov ecx, ebx
mov eax, dword [esp + 0x34]
and ecx, eax
mov dword [esp + 0x24], ecx
shr dword [esp + 0x24], 0x1f
add ecx, ecx
xor ebx, eax
add ebx, eax
adc edx, 0
add ebx, ecx
adc edx, dword [esp + 0x24]
add ebx, 0x2e
adc edx, 0
mov ecx, ebx
mov eax, dword [esp + 0x90]
and ecx, eax
add ecx, ecx
mov dword [esp + 0x24], ecx
xor ebx, eax
xor eax, eax
mov ecx, dword [ebp + 0x38]
add ecx, dword [ebp + 0x40]
setb al
add ecx, dword [esp + 0x20]
adc eax, 0
add ecx, ebx
adc eax, edx
add ecx, dword [esp + 0x24]
adc eax, 0
add ecx, 0x16
adc eax, 0
lea ebx, [ecx + ecx]
and ebx, 0x20
xor edx, edx
add ebx, ecx
adc eax, 0
je 0x404f91
mov eax, dword [esp + 4]
mov dword [eax + 0x34], 1
mov edx, 0x1c
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x404fd9
mov eax, dword [ebp + 0xc]
cmp byte [eax + ecx - 1], 0x2f
mov ebx, dword [ebp + 8]
jne 0x404fdc
cmp dword [ebp + 0x14], 0
jne 0x404fc6
mov dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x18]
or eax, dword [esp + 8]
je 0x404fdc
mov dword [ebx + 0x1c], 0x18
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
add eax, edx
add eax, 0x2e
mov ecx, eax
mov edx, dword [esp + 0x20]
and ecx, edx
xor eax, edx
lea eax, [eax + ecx*2]
mov edx, dword [esp + 4]
cmp dword [edx + 8], eax
jae 0x405014
push 1
push eax
push edx
push ebx
call fcn.00407e80
mov edx, dword [esp + 0x14]
add esp, 0x10
test eax, eax
je 0x405161
mov eax, dword [edx + 0x14]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp dword [edx + 0x18], eax
jae 0x40503f
lea ecx, [edx + 0x10]
push 1
push eax
push ecx
push ebx
call fcn.00407e80
add esp, 0x10
test eax, eax
je 0x405161
cmp dword [ebp + 0x14], 0
sete cl
xor eax, eax
or cl, byte [esp + 0x2c]
jne 0x405066
push 0x4df40
push 1
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x405161
mov dword [esp + 0x10], eax
mov ecx, ebx
mov edx, dword [esp + 0xc]
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.00405890
add esp, 8
test eax, eax
je 0x40516d
test esi, esi
setne byte [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, ecx
mov esi, dword [esp + 0x30]
add edx, esi
mov eax, dword [esp + 0x14]
adc eax, 0
mov ebx, ecx
and ebx, esi
xor ecx, esi
mov esi, ebx
shr esi, 0x1f
add ebx, ebx
add ecx, ebx
mov dword [esp + 0xc], ecx
mov ecx, edx
adc esi, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
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
movzx ebx, byte [esp + 0x2c]
xor bl, 1
or bl, byte [esp + 0x28]
movzx edx, bl
shl edx, 3
mov dword [esp + 0x28], edx
mov eax, dword [esp + 4]
cmp dword [eax + 0x34], 0
je 0x40517f
mov dword [esp + 4], esi
mov dword [esp + 0x20], 0
mov esi, 0xfffffffe
cmp esi, dword [esp + 0x18]
mov edx, 0
sbb edx, dword [esp + 8]
jb 0x405192
xor edx, edx
cmp esi, ecx
sbb edx, dword [esp + 0x14]
jb 0x405192
mov dword [esp + 8], ecx
xor eax, eax
jmp 0x4052e1
mov dword [ebx + 0x1c], 0x10
jmp 0x404fcd
push dword [esp + 0x10]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
jmp 0x404fcd
test esi, esi
je 0x4051ac
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x404fcd
xor edx, edx
cmp esi, ecx
mov eax, 0
sbb eax, dword [esp + 0x14]
jb 0x40528f
xor eax, eax
jmp 0x405293
mov dword [esp + 4], esi
mov dword [esp + 0x68], 0x4034b50
test bl, bl
je 0x4051be
mov bl, 0x14
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 + 0x28]
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 eax, dword [ebp + 0x38]
mov byte [esp + 0x84], al
mov byte [esp + 0x85], ah
lea edx, [esp + 0x68]
push 0x1e
push edx
push dword [esp + 0x1c]
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4054ab
mov eax, esi
mov esi, dword [esp + 0xc]
add esi, 0x1e
mov ecx, dword [esp + 4]
adc ecx, 0
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
push ecx
push esi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40549b
add esi, ebx
adc dword [esp + 4], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
jmp 0x405403
lea eax, [esp + 0x40]
mov esi, dword [esp + 8]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x18]
mov ecx, 0
sbb ecx, esi
jb 0x4052b0
mov ecx, 0
jmp 0x4052b4
lea ecx, [esp + 0x38]
jae 0x4052ba
lea edx, [esp + 0x48]
lea esi, [esp + 0xa0]
push eax
push ecx
push edx
mov dword [esp + 0x2c], esi
push esi
call fcn.00405930
add esp, 0x10
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov edx, eax
mov ecx, dword [ebp + 0x38]
and edx, ecx
mov dword [esp + 0x18], eax
mov esi, eax
xor esi, ecx
lea edx, [esi + edx*2]
mov dword [esp + 0x68], 0x4034b50
test bl, bl
je 0x405301
mov bl, 0x14
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 + 0x28]
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 dword [esp + 0x1c]
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4054ab
mov ecx, esi
mov esi, dword [esp + 0xc]
lea eax, [esi + esi]
and eax, 0x3c
xor esi, 0x1e
add esi, eax
mov eax, dword [esp + 4]
adc eax, 0
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push eax
push esi
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40549b
add esi, ebx
mov edx, dword [esp + 4]
adc edx, 0
cmp dword [esp + 0x20], 0
mov ecx, esi
mov dword [esp + 4], edx
je 0x40540a
lea eax, [esp + 0xa0]
mov ebx, dword [esp + 0x18]
push ebx
push eax
push edx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov esi, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x405665
add esi, ebx
adc dword [esp + 4], 0
mov eax, dword [ebp + 0x38]
mov ecx, esi
jmp 0x405415
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0x38]
test eax, eax
mov dword [esp + 0xc], ecx
je 0x405445
push eax
push dword [ebp + 0x34]
mov ebx, dword [esp + 0xc]
push ebx
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x4054ab
add dword [esp + 0xc], ecx
adc ebx, 0
mov dword [esp + 4], ebx
cmp byte [esp + 0x2c], 0
je 0x4054b7
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
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, edi
jne 0x40549b
mov ecx, edi
mov esi, dword [esp + 0xc]
mov eax, esi
mov edx, edi
and eax, ecx
mov ecx, eax
shr ecx, 0x1f
add eax, eax
xor esi, edi
add esi, eax
mov dword [esp + 0xc], esi
adc dword [esp + 4], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0
jmp 0x405568
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x404fcd
cmp dword [ebp + 0x14], 0
je 0x405568
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
xor eax, eax
cmp edi, 4
setb al
shl eax, 0xe
or eax, dword [edi*4 + 0x43b84c]
test edi, edi
jne 0x405503
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x4059a0
mov esi, dword [esp + 0x1c]
push esi
call fcn.00404100
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.00402cb0
add esp, 0x18
cmp eax, 1
jne 0x405683
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov dword [esp + 8], ecx
or eax, ecx
je 0x405674
mov dword [esp + 0x50], 0x8074b50
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x57], al
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x20], 0
je 0x40569f
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bh
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x5a], al
mov eax, ecx
shr eax, 0x10
shr ebx, 0x18
mov byte [esp + 0x5b], bl
mov ebx, ecx
shr ebx, 0x18
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], ch
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], bl
mov ecx, esi
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov eax, esi
shr eax, 0x10
mov byte [esp + 0x62], al
mov eax, esi
shr eax, 0x18
mov byte [esp + 0x63], al
mov dword [esp + 0x10], 0x38
mov dword [esp + 0x98], 0x30
mov ecx, 0x28
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x2c], 0x17
mov eax, dword [esp + 8]
mov byte [esp + 0x1f], al
mov dword [esp + 0x30], 0x16
mov dword [esp + 0x94], 0x15
mov edi, 0x14
jmp 0x4056f1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x404fcd
mov dword [esp + 8], 0
xor ecx, ecx
jmp 0x405795
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x404fcd
test ecx, ecx
jne 0x405183
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x98], 0x10
mov ecx, 8
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], 0xe
mov eax, esi
mov byte [esp + 0x1f], al
mov dword [esp + 0x94], 0xd
mov edi, 0xc
mov dword [esp + 0x14], 0x10
mov ebx, esi
mov eax, dword [esp + 8]
shrd ebx, eax, cl
shr eax, cl
movzx edx, byte [esp + 0x1f]
mov byte [esp + edi + 0x50], dl
test cl, 0x20
jne 0x40570c
mov eax, ebx
mov ebx, esi
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 8]
shrd ebx, edx, cl
mov edi, dword [esp + 0x94]
mov byte [esp + edi + 0x50], al
mov eax, edx
shr eax, cl
test cl, 0x20
jne 0x405732
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
shrd esi, edx, cl
mov edi, dword [esp + 0x30]
mov byte [esp + edi + 0x50], al
shr edx, cl
test cl, 0x20
jne 0x40574e
mov edx, esi
mov eax, dword [esp + 0x2c]
mov byte [esp + eax + 0x50], dl
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x14]
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 0x404fcd
mov eax, dword [esp + 0x14]
add dword [esp + 0xc], eax
adc dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 0x3c]
cmp dword [esp + 0x20], 0
je 0x405803
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x4057b9
xor ebx, ebx
jmp 0x4057bd
lea ebx, [esp + 0x40]
mov eax, 0xfffffffe
cmp eax, dword [esp + 8]
mov eax, 0
sbb eax, ecx
jb 0x4057d6
mov eax, 0
jmp 0x4057da
lea eax, [esp + 0x38]
jae 0x4057e0
lea edx, [esp + 0x48]
lea ecx, [esp + 0xa0]
push ebx
push eax
push edx
push ecx
call fcn.00405930
add esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x4c]
movzx edi, word [esp + 0x88]
movzx eax, word [esp + 0x28]
movzx edx, word [esp + 0x18]
movzx ebx, word [esp + 0x34]
push dword [ebp + 0x40]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x50]
push dword [esp + 0x50]
push 0
push 0
push edi
push eax
push dword [esp + 0xb0]
push dword [esp + 0x64]
push dword [esp + 0x64]
push ecx
push dword [esp + 0x3c]
push dword [esp + 0xc8]
push dword [ebp + 0x18]
push edx
push dword [esp + 0x64]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004059f0
add esp, 0x54
test eax, eax
je 0x404fcd
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 0x404fcf