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

Disassembly:
push 0xffffffffffffffff
push 0x49eac5
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0xe8]
xor ebx, ebx
cmp ecx, ebx
jne 0x411007
xor eax, eax
jmp 0x41181f
call fcn.0041ccc0
mov esi, eax
push 0x4a5956
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call fcn.00403080
push 0x2720
mov dword [esp + 0xe4], ebx
call fcn.004609cb
cmp eax, ebx
je 0x411044
push 0x2720
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d00
mov eax, dword [edi + 0x20]
push ebx
push ebx
push 0x1004
push eax
mov dword [esp + 0xb4], 7
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x70]
add eax, 1
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
mov eax, dword [esi + 0x58]
push eax
push 0xffffffffffffffff
push ecx
call fcn.004608f5
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00410520
push 0x27c
mov dword [esp + 0xc4], eax
call fcn.0045fc12
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0xe0], 1
je 0x4110b9
mov ecx, eax
call fcn.00410830
mov ebp, eax
jmp 0x4110bb
xor ebp, ebp
lea eax, [esi + 8]
lea ecx, [ebp + 4]
push eax
mov byte [esp + 0xe4], bl
call fcn.00402260
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x134]
push 0x66
push edi
lea eax, [esp + 0x30]
push eax
lea esi, [ebp + 8]
push 0x5000000b
push ebx
mov ecx, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x3d
mov dword [esp + 0x48], 0x10
call edx
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0xf4]
mov eax, dword [eax + 0x134]
push 0x66
push ecx
lea edx, [esp + 0x30]
push edx
lea edi, [ebp + 0xf4]
push 0x4000000b
push ebx
mov ecx, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x3d
mov dword [esp + 0x48], 0x10
call eax
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x1e0]
mov edx, dword [edx + 0x134]
push 0x67
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [ebp + 0x1e0]
push 0x50028003
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call edx
mov eax, dword [esp + 0x18]
add eax, 8
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0041c890
mov eax, dword [esp + 0x18]
add eax, 8
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c890
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0x5c]
push ecx
mov ecx, esi
call fcn.0041b0d0
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + 0x5c]
push eax
mov ecx, edi
call fcn.0041b0d0
lea ecx, [esp + 0x20]
push 0x271a
push ecx
call fcn.00435050
add esp, 8
mov dword [esp + 0x1c], eax
push ebx
push 0x190
push 0x2760
mov byte [esp + 0xec], 2
call fcn.004350d0
mov edx, dword [esp + 0x28]
add esp, 4
sub eax, 1
push eax
push edx
mov ecx, esi
call fcn.0041b780
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xe0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push 0x271a
push ecx
call fcn.00435050
add esp, 8
mov dword [esp + 0x20], eax
push ebx
push 0x190
push 0x2760
mov byte [esp + 0xec], 3
call fcn.004350d0
mov edx, dword [esp + 0x2c]
add esp, 4
sub eax, 1
push eax
push edx
mov ecx, edi
call fcn.0041b780
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xe0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xe8]
mov dword [ebp + 0x278], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffff
call fcn.00401710
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + 0x5c]
cmp eax, 8
ja case.default.0x4112c2
jmp dword [eax*4 + 0x41183c]
lea eax, [esp + 0x20]
push 0x275c
push eax
call fcn.00435050
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
call fcn.00402260
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], bl
call fcn.004016f0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041c890
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x20], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x9c], fcn.00488b31
call fcn.0041ba50
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.0041c890
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
mov dword [esp + 0xa0], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, edi
mov dword [esp + 0xa8], 0xc56a31
mov dword [esp + 0x58], fcn.00488b31
call fcn.0041ba50
push ebx
mov ecx, esi
call fcn.0041b0f0
push ebx
mov ecx, edi
call fcn.0041b0f0
push ebx
lea ecx, [ebp + 0x1e0]
call fcn.00466a5d
push 1
lea ecx, [ebp + 0x1e0]
call fcn.004100d0
mov dword [ebp + 0x23c], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 8]
add eax, 8
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4a75cc
push eax
call fcn.00402320
add esp, 0x10
jmp case.default.0x4112c2
lea ecx, [esp + 0x78]
push 0x275a
push ecx
call fcn.00435050
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 5
call fcn.00402260
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0xe0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41143b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041c890
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov dword [esp + 0x54], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x68], 0x929292
call fcn.0041ba50
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.0041c890
lea eax, [esp + 0x80]
push eax
mov ecx, edi
mov dword [esp + 0x84], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov dword [esp + 0x70], 0xc56a31
mov dword [esp + 0x4c], 0x929292
call fcn.0041ba50
push ebx
mov ecx, esi
call fcn.0041b0f0
push ebx
mov ecx, edi
call fcn.0041b0f0
push ebx
lea ecx, [ebp + 0x1e0]
call fcn.00466a5d
mov eax, dword [ebp + 0x200]
push ebx
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4113c4
lea ecx, [esp + 0x68]
push 0x275b
push ecx
call fcn.00435050
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 6
call fcn.00402260
lea ecx, [esp + 0x68]
mov byte [esp + 0xe0], bl
call fcn.004016f0
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041c890
lea eax, [esp + 0x88]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x50], 0x7268dc
call fcn.0041ba50
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.0041c890
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov dword [esp + 0x48], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov dword [esp + 0x5c], 0xc56a31
mov dword [esp + 0x64], 0x7268dc
call fcn.0041ba50
push 1
mov ecx, esi
call fcn.0041b0f0
push 1
mov ecx, edi
call fcn.0041b0f0
push 1
lea ecx, [ebp + 0x1e0]
call fcn.00466a5d
jmp 0x4113ca
lea ecx, [esp + 0x5c]
push 0x2759
push ecx
call fcn.00435050
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 7
call fcn.00402260
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe0], bl
call fcn.004016f0
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041c890
lea eax, [esp + 0x64]
push eax
mov ecx, esi
mov dword [esp + 0x68], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], 0xd9838a
call fcn.0041ba50
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.0041c890
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
mov dword [esp + 0x80], 0xffffff
call fcn.0041b9f0
push 5
push 5
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x94], 0xc56a31
mov dword [esp + 0x48], 0xd9838a
call fcn.0041ba50
push 1
mov ecx, esi
call fcn.0041b0f0
push 1
mov ecx, edi
call fcn.0041b0f0
push 1
lea ecx, [ebp + 0x1e0]
call fcn.00466a5d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
add eax, 8
push ecx
lea edx, [esp + 0x18]
push 0x4a58e4
push edx
call fcn.00402320
add esp, 0xc
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.0041b9a0
push ebx
mov ecx, edi
call fcn.00466a21
mov ecx, dword [esp + 0xe8]
mov dword [ebp + 0x278], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0xc8], ebp
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebp + 0x20]
push ebx
push 0x1007
push ecx
mov dword [esp + 0xc8], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x5d], bl
mov esi, eax
je 0x411757
cmp dword [ebp + 0x54], 0xffffffff
jne 0x411757
mov dword [ebp + 0x54], esi
jmp 0x41175e
mov dword [ebp + 0x54], 0xfffffffe
cmp esi, ebx
mov byte [edi + 0x5d], bl
jl 0x4117f2
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push 0x4a75c8
push eax
call fcn.00402320
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push 1
push esi
mov ecx, ebp
call fcn.0046dd5a
movzx eax, byte [edi + 0x5c]
cmp eax, 8
ja case.default.0x41179d
movzx edx, byte [eax + 0x41186c]
jmp dword [edx*4 + 0x411860]
mov eax, dword [esp + 0xec]
mov dword [eax], ebx
push 0x4a75c4
jmp 0x4117da
mov ecx, dword [esp + 0xec]
mov dword [ecx], 1
push 0x4a75c0
jmp 0x4117da
mov edx, dword [esp + 0xec]
mov dword [edx], 1
push str.012
lea ecx, [esp + 0x18]
call fcn.00402e00
mov eax, dword [esp + 0x14]
push eax
push 2
push esi
mov ecx, ebp
call fcn.0046dd5a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xe0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41181d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 8