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

Disassembly:
mov eax, 0x41a8dc
call fcn.0041a1ac
sub esp, 0x5a4
push ebx
xor eax, eax
push ebp
mov dword [esp + 0xc], eax
push esi
mov ebx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push edi
mov ebp, edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
mov dword [esp + 0x5bc], 1
lea eax, [esp + 0x8c]
push eax
mov esi, 0x104
push esi
call dword [0x41b0dc]
test eax, eax
je 0x40b12d
cmp byte [esp + 0x8c], 0
jne 0x40b10d
xor eax, eax
jmp 0x40b11b
lea eax, [esp + 0x8c]
push eax
call fcn.0040f160
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x48]
call fcn.00402b6f
push ebp
lea ecx, [esp + 0x20]
call fcn.00402adb
mov byte [esp + 0x5bc], 2
push ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00408599
cmp eax, 0xffffffff
je 0x40b20c
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
push 0x10
pop edi
cmp ecx, edi
lea eax, [esp + 0x1c]
cmovae eax, esi
cmp byte [eax], 0x2f
je 0x40b1fa
cmp ecx, edi
lea eax, [esp + 0x1c]
cmovae eax, esi
cmp byte [eax], 0x5c
je 0x40b1fa
cmp ecx, edi
lea eax, [esp + 0x1c]
cmovae eax, esi
cmp byte [eax], 0
je 0x40b19b
cmp ecx, edi
lea eax, [esp + 0x1c]
cmovae eax, esi
cmp byte [eax + 1], 0x3a
je 0x40b1fa
cmp dword [esp + 0x54], edi
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
cmp ecx, edi
lea edx, [esp + 0x1c]
cmovae edx, esi
push eax
mov ecx, ebx
call fcn.0040af2d
pop ecx
mov dword [esp + 0x14], 1
mov byte [esp + 0x5bc], 1
lea ecx, [esp + 0x1c]
call fcn.00402b0a
mov byte [esp + 0x5bc], 0
lea ecx, [esp + 0x40]
call fcn.00402b0a
mov ecx, dword [esp + 0x5b4]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp ecx, edi
lea edx, [esp + 0x1c]
cmovae edx, esi
mov ecx, ebx
call fcn.0040aead
jmp 0x40b1ba
push dword [esp + 0x5cc]
lea ecx, [esp + 0x38]
call fcn.0040c44b
mov byte [esp + 0x5bc], 3
call fcn.004099cd
cmp eax, 3
jae 0x40b23d
lea eax, [esp + 0x194]
push eax
push esi
call dword [0x41b034]
lea eax, [esp + 0x40]
push eax
push ecx
push dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.0040c9f7
call fcn.004099cd
cmp eax, 3
jae 0x40b26e
push 0x421908
push 0
push 0
call dword [0x41b028]
mov esi, dword [esp + 0x34]
push 0x10
pop edi
jmp 0x40b2d7
cmp dword [esp + 0x30], edi
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
cmp dword [esi + 0x14], edi
jb 0x40b28d
mov ecx, dword [esi]
jmp 0x40b28f
mov ecx, esi
push eax
push ecx
lea eax, [esp + 0x60]
push 0x421914
push eax
call fcn.0040ab59
add esp, 0x10
mov byte [esp + 0x5bc], 4
cmp dword [esp + 0x6c], edi
lea ecx, [esp + 0x58]
cmovae ecx, dword [esp + 0x58]
xor dl, dl
call fcn.0040ad7d
test al, al
jne 0x40b338
mov byte [esp + 0x5bc], 3
lea ecx, [esp + 0x58]
call fcn.00402b0a
add esi, 0x18
cmp esi, dword [esp + 0x38]
jne 0x40b277
push ebp
lea eax, [esp + 0x78]
push 0x42191c
push eax
call fcn.0040ab59
add esp, 0xc
mov byte [esp + 0x5bc], 5
cmp dword [eax + 0x14], edi
jb 0x40b2ff
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
call fcn.0040e9b4
mov byte [esp + 0x5bc], 6
mov dword [esp + 0x58], 0x41c034
mov byte [esp + 0x5bc], 5
push 0x422648
lea eax, [esp + 0x5c]
push eax
call fcn.0041194b
cmp dword [esp + 0x6c], edi
lea edx, [esp + 0x58]
cmovae edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.0040aead
mov dword [esp + 0x14], 1
mov byte [esp + 0x5bc], 3
lea ecx, [esp + 0x58]
call fcn.00402b0a
mov byte [esp + 0x5bc], 2
lea ecx, [esp + 0x34]
call fcn.00408a01
jmp 0x40b1c2