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

Disassembly:
jmp 0x5549b0
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
xor ecx, ecx
push edi
mov edi, dword [esp + 0x4c]
mov dword [edi + 8], ecx
mov dword [edi], 0x837188
mov dword [edi + 4], edi
mov dword [eax + 8], ecx
mov dword [eax], 0x837188
mov dword [eax + 4], eax
mov esi, dword [ebp + 0x40]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x54]
xor ebx, ebx
cmp esi, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x837188
mov dword [esp + 0x10], eax
je 0x554a50
lea eax, [esi + esi*8]
lea ecx, [eax*8 + 4]
push ecx
call fcn.0040105a
add esp, 4
test eax, eax
je 0x554a3f
push 0x40a2b3
push esi
lea edi, [eax + 4]
push 0x48
push edi
mov dword [eax], esi
call fcn.00409a84
mov eax, edi
mov edi, dword [esp + 0x4c]
jmp 0x554a41
xor eax, eax
mov ebx, eax
test ebx, ebx
mov dword [ebp + 0x18], eax
je 0x554d2f
xor ecx, ecx
mov edx, dword [esp + 0x58]
mov dword [ebp + 8], ecx
mov dword [ebp], 0x837188
mov dword [ebp + 4], ebp
mov eax, dword [edx]
mov ebp, dword [eax + 4]
test ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
je 0x554cab
mov eax, dword [esp + 0x10]
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xc8]
mov edi, eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
test eax, eax
jne 0x554b8a
push 0x8c
call fcn.0040105a
add esp, 4
test eax, eax
je 0x554d0e
mov ecx, dword [esp + 0x40]
push edi
push ecx
mov ecx, eax
call fcn.0040bcb2
mov esi, eax
test esi, esi
je 0x554d0e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x30]
cmp eax, 0xd
jne 0x554ae7
mov eax, dword [ebp + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x1c], edx
mov edi, dword [esi + 0x74]
test byte [edi + 0x54], 0x10
mov ebp, esi
je 0x554b25
push 0x50
call fcn.0040105a
add esp, 4
test eax, eax
je 0x554d0e
push esi
mov ecx, eax
call fcn.00406ff5
mov ebp, eax
test ebp, ebp
je 0x554d0e
mov ecx, dword [esp + 0x44]
push ebp
call fcn.0040156e
jmp 0x554c24
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [edi]
push 1
push ecx
mov ecx, dword [edx + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0xa8]
mov dword [esi + 0x78], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x3c]
add eax, 2
push eax
call fcn.0040105a
add esp, 4
test eax, eax
je 0x554d0e
test ebx, ebx
je 0x554c2c
mov ecx, dword [esi + 0x78]
push ecx
push eax
mov ecx, ebx
call fcn.0040a001
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [esi + 0x78]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov byte [esi + 0x56], 1
add ebx, 0x48
jmp 0x554c2c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
cmp eax, 1
je 0x554bba
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
cmp eax, 0x11
je 0x554bba
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
cmp eax, 0x13
je 0x554bba
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
cmp eax, 0xc
jne 0x554c2c
mov al, byte [edi + 0x35]
test al, al
jne 0x554c2c
push 0x50
call fcn.0040105a
mov esi, eax
add esp, 4
test esi, esi
je 0x554d0e
mov ecx, esi
call fcn.00401366
mov dword [esi], vtable.Item_copy_string.0
mov dword [esi + 0x4c], edi
mov al, byte [edi + 0x32]
mov byte [esi + 0x32], al
mov byte [esi + 0x33], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x48], eax
cmp ecx, dword [esp + 0x10]
mov ebp, esi
push esi
lea ecx, [esp + 0x24]
jb 0x554c1f
mov ecx, dword [esp + 0x48]
call fcn.004069a6
test eax, eax
jne 0x554d0e
push 8
call fcn.0040105a
add esp, 4
test eax, eax
je 0x554c45
mov dword [eax], 0x837188
mov dword [eax + 4], ebp
jmp 0x554c47
xor eax, eax
test eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov dword [edx], eax
je 0x554c63
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [ecx + 8]
inc eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jae 0x554c79
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
sub eax, ecx
dec eax
jmp 0x554c7d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov dword [edx + eax*4], ebp
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov ebp, dword [eax + 4]
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
inc ecx
test ebp, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x554a80
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x44]
mov dword [ecx + 0x1c], ebx
jbe 0x554ccd
lea ebx, [ebx]
dec eax
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
mov dword [esp + 0x30], edx
jne 0x554cc0
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x50]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x54]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x837188
mov dword [edi + 4], edx
je 0x554d04
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], eax
add dword [ecx + 8], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
test ebx, ebx
je 0x554d24
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x554d24
push 3
call fcn.004040e8
mov edx, dword [esp + 0x44]
mov dword [edx + 0x18], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret