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

Disassembly:
sub esp, 0x84
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x4f169b
xor eax, eax
pop esi
add esp, 0x84
ret 8
cmp dword [esi + 8], 0
je 0x4f168f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
add eax, dword [esp + 0x8c]
add ecx, dword [esp + 0x90]
cmp dword [esi + 0xfc], 0
push ebx
push ebp
mov edx, 1
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
lea ebp, [esi + 0x38]
je 0x4f1746
mov edi, ebp
lea edx, [edi + 1]
mov edi, edi
mov bl, byte [edi]
inc edi
test bl, bl
jne 0x4f16e0
sub edi, edx
mov edx, dword [esi + 0x100]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
mov ecx, dword [esi + 0x100]
add edi, 2
call fcn.0042d220
movzx ecx, word [esi + 0x78]
push 0xb4464646
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push ecx
mov ecx, 0x682a58
call fcn.004264c0
mov edx, dword [esi + 0x7c]
movzx ecx, word [esi + 0x78]
mov eax, 1
sub dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
or edx, 0xff000000
push edx
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push ecx
jmp 0x4f1817
cmp byte [ebp], 0
je 0x4f1821
mov ebx, dword [esi + 0x7c]
mov edi, ebp
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
lea esp, [esp]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x4f1760
sub edi, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x64], edx
lea edx, [eax - 1]
push 0xb4464646
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
lea edx, [ecx + 1]
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
dec ecx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x50], ecx
movzx ecx, word [esi + 0x78]
add edi, 2
push edi
push ebp
push ecx
mov ecx, 0x682a58
mov dword [esp + 0x6c], edx
call fcn.004264c0
movzx eax, word [esi + 0x78]
push 0xb4464646
lea edx, [esp + 0x58]
push edx
push edi
push ebp
push eax
mov ecx, 0x682a58
call fcn.004264c0
movzx edx, word [esi + 0x78]
push 0xb4464646
lea ecx, [esp + 0x78]
push ecx
push edi
push ebp
push edx
mov ecx, 0x682a58
call fcn.004264c0
movzx ecx, word [esi + 0x78]
push 0xb4464646
lea eax, [esp + 0x68]
push eax
push edi
push ebp
push ecx
mov ecx, 0x682a58
call fcn.004264c0
movzx eax, word [esi + 0x78]
or ebx, 0xff000000
push ebx
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push eax
mov ecx, 0x682a58
call fcn.004264c0
mov ecx, dword [esi + 0x14]
add ecx, dword [esp + 0x9c]
mov ebx, dword [esi + 0x18]
add ebx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x84], ebx
fsub qword [0x5bca30]
call fcn.00599920
cmp byte [esi + 0x80], 0
mov ebp, 1
lea edi, [esi + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
je 0x4f1973
mov ecx, edi
lea ebp, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4f1881
lea edx, [ebx + 1]
sub ecx, ebp
mov dword [esp + 0x44], edx
lea edx, [eax + 1]
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
dec eax
lea ebp, [ecx + 2]
push 0xb4464646
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
lea ecx, [ebx - 1]
mov dword [esp + 0x5c], ecx
movzx ecx, word [esi + 0x78]
push ebp
push edi
push ecx
mov ecx, 0x682a58
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x78], ebx
call fcn.004264c0
movzx eax, word [esi + 0x78]
push 0xb4464646
lea edx, [esp + 0x78]
push edx
push ebp
push edi
push eax
mov ecx, 0x682a58
call fcn.004264c0
movzx edx, word [esi + 0x78]
push 0xb4464646
lea ecx, [esp + 0x58]
push ecx
push ebp
push edi
push edx
mov ecx, 0x682a58
call fcn.004264c0
movzx ecx, word [esi + 0x78]
push 0xb4464646
lea eax, [esp + 0x48]
push eax
push ebp
push edi
push ecx
mov ecx, 0x682a58
call fcn.004264c0
mov edx, dword [esi + 0x7c]
movzx ecx, word [esi + 0x78]
or edx, 0xff000000
push edx
lea eax, [esp + 0x88]
push eax
push ebp
push edi
push ecx
mov ecx, 0x682a58
call fcn.004264c0
cmp byte [edi], 0
mov ebp, 1
je 0x4f1973
cmp byte [esi + 0x91], 0
je 0x4f1973
push 0
push 0x17f
push str..OBalloonName.cpp
call fcn.00527110
add esp, 0xc
mov eax, dword [esi + 0x2c]
add eax, dword [esp + 0x9c]
mov edx, dword [esi + 0x30]
add edx, dword [esp + 0x98]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x34], edx
fsub qword [0x5b5698]
call fcn.00599920
cmp byte [esi + 0x91], 0
lea ebx, [esi + 0x91]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x4f1a0e
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f19c0
push 0xb4464646
sub eax, edx
movzx edx, word [esi + 0x78]
lea ecx, [esp + 0x38]
push ecx
lea edi, [eax + 2]
push edi
push ebx
push edx
mov ecx, 0x682a58
call fcn.004264c0
mov eax, dword [esi + 0x7c]
movzx edx, word [esi + 0x78]
sub dword [esp + 0x34], ebp
sub dword [esp + 0x38], ebp
or eax, 0xff000000
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
push ebx
push edx
mov ecx, 0x682a58
call fcn.004264c0
mov eax, dword [esi + 0x1c]
add eax, dword [esp + 0x98]
cmp byte [esi + 0xb2], 0
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
lea edi, [esi + 0xb2]
lea eax, [ecx + edx - 0x22]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
je 0x4f1a9e
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f1a50
push 0xb4ff00ff
sub eax, edx
movzx edx, word [esi + 0x78]
lea ecx, [esp + 0x28]
push ecx
lea ebx, [eax + 2]
push ebx
push edi
push edx
mov ecx, 0x682a58
call fcn.004264c0
mov eax, dword [esi + 0x7c]
movzx edx, word [esi + 0x78]
sub dword [esp + 0x24], ebp
sub dword [esp + 0x28], ebp
or eax, 0xff000000
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push edi
push edx
mov ecx, 0x682a58
call fcn.004264c0
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
add esp, 0x84
ret 8