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

Disassembly:
push 0xffffffffffffffff
push 0x490b45
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
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 0x4106b7
xor eax, eax
jmp 0x410ecf
call fcn.0041bf00
mov esi, eax
push 0x4978d6
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call fcn.00402f40
push 0x2720
mov dword [esp + 0xe4], ebx
call fcn.004524e0
cmp eax, ebx
je 0x4106f4
push 0x2720
push eax
lea ecx, [esp + 0x1c]
call fcn.00401f70
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 + 0x54]
push eax
push 0xffffffffffffffff
push ecx
call fcn.0045240a
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0040fbd0
push 0x27c
mov dword [esp + 0xc4], eax
call fcn.00451402
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0xe0], 1
je 0x410769
mov ecx, eax
call fcn.0040fee0
mov ebp, eax
jmp 0x41076b
xor ebp, ebp
lea eax, [esi + 8]
lea ecx, [ebp + 4]
push eax
mov byte [esp + 0xe4], bl
call fcn.004023e0
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.0041bb80
mov eax, dword [esp + 0x18]
add eax, 8
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041bb80
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0x58]
push ecx
mov ecx, esi
call fcn.0041aae0
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + 0x58]
push eax
mov ecx, edi
call fcn.0041aae0
lea ecx, [esp + 0x20]
push 0x271a
push ecx
call fcn.0042fe20
add esp, 8
mov dword [esp + 0x1c], eax
push ebx
push 0x190
push 0x2760
mov byte [esp + 0xec], 2
call fcn.0042fea0
mov edx, dword [esp + 0x28]
add esp, 4
sub eax, 1
push eax
push edx
mov ecx, esi
call fcn.0041ab20
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 0x4108d8
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.0042fe20
add esp, 8
mov dword [esp + 0x20], eax
push ebx
push 0x190
push 0x2760
mov byte [esp + 0xec], 3
call fcn.0042fea0
mov edx, dword [esp + 0x2c]
add esp, 4
sub eax, 1
push eax
push edx
mov ecx, edi
call fcn.0041ab20
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 0x410940
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.00401880
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + 0x58]
cmp eax, 8
ja case.default.0x410972
jmp dword [eax*4 + 0x410eec]
lea eax, [esp + 0x20]
push 0x275c
push eax
call fcn.0042fe20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
call fcn.004023e0
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], bl
call fcn.00401a80
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041bb80
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x20], 0xffffff
call fcn.0041aa80
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.0041ad40
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.0041bb80
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
mov dword [esp + 0xa0], 0xffffff
call fcn.0041aa80
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.0041ad40
push ebx
mov ecx, esi
call fcn.0041ab00
push ebx
mov ecx, edi
call fcn.0041ab00
push ebx
lea ecx, [ebp + 0x1e0]
call fcn.00458493
push 1
lea ecx, [ebp + 0x1e0]
call fcn.0040f760
mov dword [ebp + 0x23c], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 8]
add eax, 8
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4994e4
push eax
call fcn.00402730
add esp, 0x10
jmp case.default.0x410972
lea ecx, [esp + 0x78]
push 0x275a
push ecx
call fcn.0042fe20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 5
call fcn.004023e0
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 0x410aeb
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.0041bb80
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov dword [esp + 0x54], 0xffffff
call fcn.0041aa80
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.0041ad40
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.0041bb80
lea eax, [esp + 0x80]
push eax
mov ecx, edi
mov dword [esp + 0x84], 0xffffff
call fcn.0041aa80
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.0041ad40
push ebx
mov ecx, esi
call fcn.0041ab00
push ebx
mov ecx, edi
call fcn.0041ab00
push ebx
lea ecx, [ebp + 0x1e0]
call fcn.00458493
mov eax, dword [ebp + 0x200]
push ebx
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x410a74
lea ecx, [esp + 0x68]
push 0x275b
push ecx
call fcn.0042fe20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 6
call fcn.004023e0
lea ecx, [esp + 0x68]
mov byte [esp + 0xe0], bl
call fcn.00401a80
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041bb80
lea eax, [esp + 0x88]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 0xffffff
call fcn.0041aa80
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.0041ad40
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.0041bb80
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov dword [esp + 0x48], 0xffffff
call fcn.0041aa80
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.0041ad40
push 1
mov ecx, esi
call fcn.0041ab00
push 1
mov ecx, edi
call fcn.0041ab00
push 1
lea ecx, [ebp + 0x1e0]
call fcn.00458493
jmp 0x410a7a
lea ecx, [esp + 0x5c]
push 0x2759
push ecx
call fcn.0042fe20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 7
call fcn.004023e0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe0], bl
call fcn.00401a80
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041bb80
lea eax, [esp + 0x64]
push eax
mov ecx, esi
mov dword [esp + 0x68], 0xffffff
call fcn.0041aa80
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.0041ad40
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.0041bb80
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
mov dword [esp + 0x80], 0xffffff
call fcn.0041aa80
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.0041ad40
push 1
mov ecx, esi
call fcn.0041ab00
push 1
mov ecx, edi
call fcn.0041ab00
push 1
lea ecx, [ebp + 0x1e0]
call fcn.00458493
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
add eax, 8
push ecx
lea edx, [esp + 0x18]
push 0x4978b4
push edx
call fcn.00402730
add esp, 0xc
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.0041aa30
push ebx
mov ecx, edi
call fcn.00458457
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 + 0x59], bl
mov esi, eax
je 0x410e07
cmp dword [ebp + 0x54], 0xffffffff
jne 0x410e07
mov dword [ebp + 0x54], esi
jmp 0x410e0e
mov dword [ebp + 0x54], 0xfffffffe
cmp esi, ebx
mov byte [edi + 0x59], bl
jl 0x410ea2
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push 0x4994e0
push eax
call fcn.00402730
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push 1
push esi
mov ecx, ebp
call fcn.0045f7bd
movzx eax, byte [edi + 0x58]
cmp eax, 8
ja case.default.0x410e4d
movzx edx, byte [eax + 0x410f1c]
jmp dword [edx*4 + 0x410f10]
mov eax, dword [esp + 0xec]
mov dword [eax], ebx
push 0x4994dc
jmp 0x410e8a
mov ecx, dword [esp + 0xec]
mov dword [ecx], 1
push 0x4994d8
jmp 0x410e8a
mov edx, dword [esp + 0xec]
mov dword [edx], 1
push str.012
lea ecx, [esp + 0x18]
call fcn.00402d30
mov eax, dword [esp + 0x14]
push eax
push 2
push esi
mov ecx, ebp
call fcn.0045f7bd
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 0x410ecd
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