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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48aec6
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4b37a0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4b37a0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x40]
mov esi, dword [eax + 0x3c]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
cmp esi, edi
je 0x40b405
nop
xor eax, eax
mov dword [esp + 0x6c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
call fcn.00406490
xor eax, eax
mov dword [esp + 0xb0], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x78], ax
lea ecx, [esp + 0x78]
lea eax, [esi + 0x18]
mov dword [esp + 0x8c], 7
push eax
mov dword [esp + 0x8c], 0
call fcn.00406490
xor eax, eax
mov dword [esp + 0xb0], 1
push 0xffffffffffffffff
push eax
mov word [esp + 0x90], ax
lea ecx, [esp + 0x90]
lea eax, [esp + 0x78]
mov dword [esp + 0xa4], 7
push eax
mov dword [esp + 0xa4], 0
call fcn.00406490
mov byte [esp + 0xb0], 2
cmp dword [ebx + 0x14], 8
jb 0x40b20d
mov ecx, dword [ebx]
jmp 0x40b20f
mov ecx, ebx
cmp dword [esp + 0x6c], 8
lea edx, [esp + 0x58]
mov edi, dword [esp + 0x10]
cmovae edx, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
mov ebx, dword [ebx + 0x10]
cmp eax, dword [edi + 0x10]
cmovb ebx, eax
test ebx, ebx
jne 0x40b250
xor eax, eax
mov ebx, edi
test eax, eax
jne 0x40b278
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x40b26f
or eax, 0xffffffff
jmp 0x40b276
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40b261
add edx, 2
add ecx, 2
dec ebx
jmp 0x40b230
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40b234
xor eax, eax
cmp ecx, edx
setne al
test eax, eax
mov edi, dword [esp + 0x14]
sete al
test al, al
je 0x40b390
xor eax, eax
mov dword [esp + 0x30], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x24], ax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x90]
mov dword [esp + 0x34], 0
push eax
call fcn.00406490
xor eax, eax
mov byte [esp + 0xb0], 3
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.00406490
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0xb0], 4
push eax
lea ecx, [esp + 0x54]
call fcn.0040dcc0
mov byte [esp + 0xb0], 6
cmp dword [esp + 0x48], 8
jb 0x40b317
push dword [esp + 0x34]
call fcn.00455fa6
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
cmp dword [esp + 0x30], 8
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x40b341
push dword [esp + 0x1c]
call fcn.00455fa6
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], 0
test eax, eax
jne 0x40b36e
push 1
call fcn.00456a5e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
push dword [esp + 0x54]
call fcn.00456add
add esp, 8
test eax, eax
je 0x40b388
push eax
call fcn.00456a31
add esp, 4
mov dword [esp + 0x54], 0
cmp dword [esp + 0x9c], 8
jb 0x40b3a9
push dword [esp + 0x88]
call fcn.00455fa6
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x84], 8
jb 0x40b3ca
push dword [esp + 0x70]
call fcn.00455fa6
add esp, 4
xor eax, eax
mov dword [esp + 0x84], 7
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x40b3fa
push dword [esp + 0x58]
call fcn.00455fa6
add esp, 4
add esi, 0x30
cmp esi, edi
jne 0x40b160
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0045755a
mov esp, ebp
pop ebp
ret 4