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

Disassembly:
push 0xffffffffffffffff
push 0x53b422
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58c950]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58c950]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
mov esi, 1
mov dword [esp + 0x98], esi
cmp dword [eax + 0x54], ebx
je 0x40bdfa
mov ecx, dword [eax + 0x4c]
add ecx, 0xfffffffe
cmp ecx, 0x7e
ja case.0x40bc82.3
movzx edx, byte [ecx + 0x40bee0]
jmp dword [edx*4 + 0x40bec8]
cmp dword [eax + 0x18], 8
jb 0x40bc94
mov edx, dword [eax + 4]
jmp 0x40bc97
lea edx, [eax + 4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x18], ebx
add eax, 2
lea ebx, [esp + 0x18]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
call fcn.0040cb80
test al, al
je 0x40bcf9
mov edx, ebx
lea edi, [esp + 0x54]
call fcn.0040cc00
mov byte [esp + 0x98], 2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
call fcn.00403510
mov byte [esp + 0x98], 1
mov esi, edi
call fcn.004034b0
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push 0xffffffffffffffff
mov word [ebp + 4], cx
push ebx
lea eax, [esp + 0x78]
mov ecx, ebp
call fcn.00403510
mov dword [esp + 0x14], 1
mov byte [esp + 0x98], bl
cmp dword [esp + 0x88], 8
jb 0x40bd3b
mov edx, dword [esp + 0x74]
push edx
call fcn.00410507
add esp, 4
xor eax, eax
mov word [esp + 0x74], ax
jmp 0x40be8e
lea ecx, [esp + 0x70]
push ecx
mov eax, str.comment
call fcn.00408e40
jmp case.0x40bc82.3
lea edx, [esp + 0x70]
push edx
mov eax, str.cdata_section
call fcn.00408e40
jmp case.0x40bc82.3
cmp dword [eax + 0x18], 8
jb 0x40bd74
mov edx, dword [eax + 4]
jmp 0x40bd77
lea edx, [eax + 4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x18], ebx
add eax, 2
lea ebx, [esp + 0x18]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
call fcn.0040cb80
test al, al
je 0x40bcf9
call fcn.0040cb80
test al, al
je 0x40bcf9
mov edx, ebx
lea edi, [esp + 0x38]
call fcn.0040cc00
mov byte [esp + 0x98], 3
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
call fcn.00403510
mov byte [esp + 0x98], 1
mov esi, edi
jmp 0x40bcef
push 5
mov eax, str.text
lea esi, [esp + 0x74]
call fcn.00404060
jmp case.0x40bc82.3
mov ecx, dword [eax + 0x3c]
cmp ecx, ebx
je 0x40be4b
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040d540
mov byte [esp + 0x98], 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
call fcn.00403510
mov byte [esp + 0x98], 1
cmp dword [esp + 0x30], 8
jb 0x40be3c
mov eax, dword [esp + 0x1c]
push eax
call fcn.00410507
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
push 0xffffffffffffffff
xor edx, edx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
lea eax, [esp + 0x78]
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00403510
mov dword [esp + 0x14], esi
mov byte [esp + 0x98], bl
cmp dword [esp + 0x88], 8
jb 0x40be87
mov eax, dword [esp + 0x74]
push eax
call fcn.00410507
add esp, 4
xor ecx, ecx
mov word [esp + 0x74], cx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov eax, ebp
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0050e8a6
add esp, 0x88
ret 8