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

Disassembly:
sub esp, 0x88
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
movzx ecx, byte [ebx + 0x14]
cmp cl, 0x73
mov dword [esp + 0x24], ecx
jne 0x40b6aa
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x24], esi
cmp esi, eax
jae 0x40b59a
jmp 0x40b59c
mov esi, eax
cmp eax, esi
jb 0x40b8a2
mov ecx, dword [ebx + 4]
cmp ecx, eax
mov dword [esp + 0x24], ecx
jae 0x40b5b1
jmp 0x40b5b3
mov ecx, eax
mov edx, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
cmp dword [ebx], 0
jle 0x40b621
xor edx, edx
mov eax, 1
cmp dword [esp + 0x38], edx
je 0x40b5f8
cmp edx, dword [esp + 0x38]
jae 0x40b8d2
mov ecx, dword [esp + 0x3c]
cmp byte [edx + ecx], 0x7f
jbe 0x40b5f1
xor eax, eax
jmp 0x40b5f8
inc edx
cmp edx, dword [esp + 0x38]
jb 0x40b5d9
mov dl, al
xor dl, 1
je 0x40b621
xor esi, esi
cmp dword [esp + 0x38], esi
je 0x40b625
push dword [esp + 0x3c]
inc edi
mov eax, esi
push dword [esp + 0x3c]
call fcn.004087dc
add esi, eax
cmp esi, dword [esp + 0x38]
jb 0x40b607
jmp 0x40b625
mov edi, dword [esp + 0x38]
mov eax, ebx
call fcn.0044a748
xor al, 1
je 0x40b669
mov edx, dword [ebx]
cmp edi, edx
mov dword [esp + 0x24], edx
jae 0x40b656
xor esi, esi
sub edx, edi
mov dword [esp + 0x78], edx
je 0x40b656
push ebp
mov eax, 0x20
call fcn.0040b3fc
inc esi
cmp esi, dword [esp + 0x78]
jb 0x40b644
push ebp
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.0040b4e8
jmp 0x40b889
push ebp
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.0040b4e8
mov ecx, dword [ebx]
cmp edi, ecx
mov dword [esp + 0x24], ecx
jae 0x40b889
xor esi, esi
sub ecx, edi
mov dword [esp + 0x7c], ecx
je 0x40b889
push ebp
mov eax, 0x20
call fcn.0040b3fc
inc esi
cmp esi, dword [esp + 0x7c]
jb 0x40b693
jmp 0x40b889
cmp cl, 0x72
jne 0x40b716
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx]
mov dword [esp + 0x28], ebx
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x30], esi
je 0x40b889
mov eax, dword [esp + 0x2c]
movzx edx, byte [esi + eax]
mov byte [esp + 0x80], dl
push ebp
lea ebx, [esp + 0x84]
push ebx
mov eax, dword [esp + 0x8c]
call fcn.0040b924
inc esi
cmp esi, dword [esp + 0x30]
jb 0x40b6e6
jmp 0x40b889
cmp cl, 0x28
jne 0x40b84a
mov eax, dword [esp + 0x8c]
call fcn.00408354
test al, al
jne 0x40b889
mov esi, 0x4c1980
lea edi, [esp + 0x48]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
lea eax, [esp + 0x50]
call fcn.0044a81c
push ebp
lea eax, [esp + 0x4c]
call fcn.0040bc3c
xor al, 1
jne 0x40b7d8
mov eax, ebx
call fcn.0044a748
test al, al
je 0x40b789
push ebp
mov edx, dword [esp + 0x90]
push dword [edx + 4]
push dword [edx]
call fcn.00408360
push eax
lea eax, [esp + 0x50]
call fcn.0040be50
jmp 0x40b7a5
push ebp
mov ecx, dword [esp + 0x90]
push dword [ecx + 4]
push dword [ecx]
call fcn.00408360
push eax
lea eax, [esp + 0x50]
call fcn.0040c060
xor edx, edx
cmp dword [esp + 0x70], edx
je 0x40b7d8
cmp edx, dword [esp + 0x70]
jae 0x40b8fa
mov ecx, dword [esp + 0x74]
cmp byte [ecx + edx], 0x25
jne 0x40b7d1
push ebp
lea eax, [esp + 0x4c]
call fcn.0040bc3c
xor al, 1
jne 0x40b7d8
jmp 0x40b760
inc edx
cmp edx, dword [esp + 0x70]
jb 0x40b7ad
mov edx, dword [ebx + 0x24]
or edx, dword [ebx + 0x20]
je 0x40b81b
push ebp
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0040be28
mov eax, dword [esp + 0x8c]
call fcn.004083e0
mov eax, dword [esp + 0x8c]
call fcn.00408354
test al, al
jne 0x40b889
push ebp
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0040be28
jmp 0x40b733
mov eax, dword [esp + 0x8c]
call fcn.004083e0
mov eax, dword [esp + 0x8c]
call fcn.00408354
test al, al
jne 0x40b889
push ebp
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0040be28
jmp 0x40b733
mov dword [esp], 0x4c1640
call fcn.0044a170
mov edx, 0x4bcfb0
mov esi, eax
push edx
push 0x27
movzx eax, byte [ebx + 0x14]
call fcn.0040ab50
mov ecx, 0x4bcf50
push edx
push eax
mov eax, esi
push ecx
push 0x5b
push 0xd4b
push 0
call fcn.0044a144
mov dword [esp], eax
call fcn.0044a110
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0x88
ret 8
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
cmp edx, eax
jae 0x40b8b0
jmp 0x40b8b2
mov edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc91
mov dword [esp], 0x4bcf50
call fcn.00449d20
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc9b
mov dword [esp], 0x4bcf50
call fcn.00449d20
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd35
mov dword [esp], 0x4bcf50
call fcn.00449d20
int3