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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bb168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x160]
push esi
cmp eax, ebp
push edi
jne 0x41015f
mov eax, dword [ebx + 0x120]
xor esi, esi
cmp eax, ebp
jle 0x410344
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x74]
mov edx, dword [ebx + 0x11c]
mov ecx, dword [eax + esi*8 + 4]
mov eax, dword [edx + esi*4]
mov eax, dword [eax + 0x14]
cmp eax, 7
jne 0x41012d
mov eax, dword [ecx + 0x1c]
push ebp
push ebp
push 0xf1
push eax
call edi
jmp 0x410141
cmp eax, 0xc
je 0x410141
cmp eax, 0xb
je 0x410141
push 0x4f9a51
call fcn.004b155a
mov eax, dword [ebx + 0x120]
inc esi
cmp esi, eax
jl 0x410106
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x158]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
call fcn.00429b70
mov ecx, dword [ebx + 0x120]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x18], eax
jle 0x41032b
mov ecx, dword [ebx + 0x11c]
mov edx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov ebp, dword [edx + eax*8 + 4]
mov edx, dword [esp + 0x14]
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
add esi, edx
dec eax
cmp eax, 9
ja case.default.0x4101b0
jmp dword [eax*4 + 0x410358]
xor eax, eax
lea edx, [esp + 0x3c]
mov al, byte [esi]
push edx
push eax
call fcn.004137f0
add esp, 8
jmp 0x41022e
movsx edx, word [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.004137f0
add esp, 8
jmp 0x41022e
mov ecx, dword [esi]
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.004137f0
add esp, 8
jmp 0x41022e
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x3c]
push 0xa
push edx
push eax
push ecx
call fcn.0049d574
add esp, 0x10
jmp 0x41022e
mov eax, dword [esi]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.00413e00
add esp, 8
jmp 0x41022e
mov edx, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00413e90
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0x4ec0d9
push ecx
call fcn.0049d8de
add esp, 8
test eax, eax
jne 0x410248
mov byte [esp + 0x3c], al
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.004b155a
jmp case.default.0x4101b0
fld qword [esi]
fst qword [esp + 0x1c]
fcomp qword [0x4cbcd8]
fnstsw ax
test ah, 0x40
je 0x41027d
push 0x4f9a51
mov ecx, ebp
call fcn.004b155a
jmp case.default.0x4101b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00413fb0
add esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.004b155a
jmp case.default.0x4101b0
mov ecx, dword [edi + 0x1c]
push 0
push ecx
push esi
call fcn.0042a670
add esp, 0xc
cmp eax, 0xffffffff
je 0x4102c0
push esi
mov ecx, ebp
call fcn.004b155a
jmp case.default.0x4101b0
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x1c]
push edx
push esi
lea ecx, [esp + 0x30]
call fcn.0042a310
push 0
lea ecx, [esp + 0x2c]
call fcn.00429e00
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
neg eax
sbb eax, eax
mov ecx, ebp
and eax, edx
push eax
call fcn.004b155a
jmp case.default.0x4101b0
mov cl, byte [esi]
xor eax, eax
test cl, cl
setne al
push 0
push eax
mov eax, dword [ebp + 0x1c]
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x120]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x41018a
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x28], 0x4cb488
call fcn.00429d70
mov ecx, dword [esp + 0x70]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret