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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b527a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
lea eax, [ecx - 0x100]
xor esi, esi
cmp eax, 0x4d
mov dword [esp + 0x14], ebx
ja case.0x10040edf.258
movzx eax, byte [eax + 0x100414f0]
jmp dword [eax*4 + 0x10041454]
mov edi, dword [edi + 0x10]
cmp edi, esi
je 0x1004143c
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
jmp 0x10041438
mov ecx, dword [ebp + 0xc]
push ecx
mov ebx, edi
call fcn.1003b890
jmp 0x1004143c
mov edx, dword [ebp + 0xc]
push edx
mov ecx, edi
call fcn.1003b490
jmp 0x1004143c
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.1003bcc0
jmp 0x1004143c
mov ecx, edi
call fcn.1003b5d0
jmp 0x1004143c
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
push esi
mov esi, dword [ebp + 0xc]
push esi
mov ecx, edi
call eax
push esi
push edi
xor bl, bl
call fcn.1003c490
jmp 0x1004143c
mov ecx, dword [ebp + 0xc]
push ecx
push edi
mov bl, 1
call fcn.1003c490
jmp 0x1004143c
mov ebx, dword [ebp + 0xc]
push ebx
mov esi, edi
call fcn.1003cac0
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push ebx
mov ecx, edi
call eax
jmp 0x1004143c
mov edx, dword [edi]
mov esi, dword [ebp + 0xc]
mov eax, dword [edx + 0x74]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push esi
mov ecx, edi
call eax
jmp 0x1004143c
mov edx, dword [edi]
mov esi, dword [ebp + 0xc]
mov eax, dword [edx + 0x60]
push 1
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push esi
mov ecx, edi
call eax
jmp 0x1004143c
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.1003cd50
jmp 0x1004143c
mov ecx, edi
call fcn.1003cc40
jmp 0x1004143c
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.1003d5e0
jmp 0x1004143c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.1003d820
jmp 0x1004143c
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.1003d930
jmp 0x1004143c
cmp dword [ebp + 0xc], esi
setne dl
push edx
push edi
call fcn.1003db50
jmp 0x1004143c
mov ecx, edi
call fcn.1003df60
jmp 0x1004143c
cmp dword [edi + 0x10], esi
je 0x1004143c
cmp dword [edi + 0xc], esi
je 0x1004143c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], esi
lea eax, [edi + 0xac]
lea esi, [esp + 0x14]
call fcn.10006930
lea eax, [edi + 0x9c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.10023850
mov byte [esp + 0x40], 0
call fcn.10006950
mov ebx, dword [edi + 0x10]
mov edi, dword [edi + 0xc]
mov edx, dword [edi]
mov esi, dword [ebx]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x1c]
mov ecx, edi
add esi, 0xa8
call eax
mov edx, dword [esi]
mov ecx, ebx
push eax
call edx
lea esi, [esp + 0x24]
call fcn.100237b0
jmp 0x1004143c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.1003e480
jmp 0x1004143c
mov edx, dword [edi]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0x78]
push eax
mov ecx, edi
call edx
jmp 0x1004143c
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.1003f120
jmp 0x1004143c
mov edi, dword [edi + 0x14]
cmp edi, esi
je 0x1004143c
mov edx, dword [edi]
mov eax, dword [edx + 0xc4]
jmp 0x10041438
mov ecx, dword [edi + 0x14]
cmp ecx, esi
je 0x10041144
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [esp + 0x40], 2
cmp dword [eax], esi
mov ebx, 1
mov dword [esp + 0x14], ebx
je 0x10041144
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x18]
push edx
call eax
mov ebx, 3
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], ebx
call eax
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov byte [esp + 0x13], 1
jne 0x10041149
mov byte [esp + 0x13], 0
test bl, 2
mov dword [esp + 0x40], 2
je 0x1004116c
mov ecx, dword [esp + 0x18]
and ebx, 0xfffffffd
cmp ecx, esi
mov dword [esp + 0x14], ebx
je 0x1004116c
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x40], 0xffffffff
je 0x10041188
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x10041188
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
je 0x1004143c
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0x40], 4
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
push esi
push 0x815
call edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x1004143c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
jmp 0x1004143c
mov edi, dword [edi + 0x14]
cmp edi, esi
je 0x1004143c
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0xdc]
push esi
push esi
push edx
push ecx
mov ecx, edi
call eax
jmp 0x1004143c
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.1003f550
jmp 0x1004143c
mov edx, dword [edi]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0x8c]
push esi
push eax
mov ecx, edi
call edx
neg al
sbb eax, eax
add eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
push 1
push ecx
mov ecx, edi
call edx
neg al
sbb eax, eax
add eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x1004143c
cmp dword [edi + 0xc], esi
je 0x1004143c
mov ecx, dword [edi + 0xc]
mov esi, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esi, 0xac
mov ebx, ecx
mov edi, ecx
call edx
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
mov ecx, edi
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esi]
call eax
jmp 0x1004143c
cmp dword [edi + 0x10], esi
je 0x1004143c
cmp dword [edi + 0xc], esi
je 0x1004143c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov ebx, 5
lea eax, [edi + 0x70]
lea esi, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.10006930
lea eax, [edi + 0x8c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 6
call fcn.10023850
mov byte [esp + 0x40], bl
call fcn.10006950
mov ebx, dword [edi + 0x10]
mov edi, dword [edi + 0xc]
mov edx, dword [edi]
mov esi, dword [ebx]
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
add esi, 0xa4
call eax
mov edx, dword [esi]
mov ecx, ebx
push eax
call edx
lea ebx, [esp + 0x24]
call fcn.10002310
jmp 0x1004143c
mov edi, dword [edi + 0x10]
cmp edi, esi
je 0x1004143c
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
push ecx
mov ecx, edi
call edx
jmp 0x1004143c
mov ecx, edi
call fcn.1003ef50
jmp 0x1004143c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.100400a0
jmp 0x1004143c
cmp dword [edi + 0xc], esi
je 0x1004143c
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
jmp 0x1004143a
mov edi, dword [edi + 0x10]
cmp edi, esi
mov dword [esp + 0x14], edi
je 0x100413a5
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
cmp edi, esi
mov dword [esp + 0x40], 7
je 0x100413bd
mov edx, dword [edi]
mov eax, dword [edx + 0xd4]
mov ecx, edi
call eax
cmp edi, esi
mov dword [esp + 0x40], 0xffffffff
je 0x1004143c
mov edx, dword [edi]
mov eax, dword [edx + 4]
jmp 0x10041438
mov edi, dword [edi + 0x10]
cmp edi, esi
mov dword [esp + 0x14], edi
je 0x100413e3
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
cmp edi, esi
mov dword [esp + 0x40], 8
je 0x100413fb
mov edx, dword [edi]
mov eax, dword [edx + 0xd8]
mov ecx, edi
call eax
cmp edi, esi
mov dword [esp + 0x40], 0xffffffff
je 0x1004143c
mov edx, dword [edi]
mov eax, dword [edx + 4]
jmp 0x10041438
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x168]
jmp 0x1004143a
mov ecx, edi
call fcn.10040c40
jmp 0x1004143c
cmp dword [ebp + 0xc], esi
setne cl
push ecx
push edi
call fcn.1003f430
jmp 0x1004143c
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8