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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [esp + 0x84]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov esi, dword [ebp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0xc]
lea edi, [edx + 0xe8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x416025
add edx, 0xc8
mov ecx, 0x439a00
push edx
call fcn.004061a0
test eax, eax
jne 0x4161c5
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], 0xffff0002
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 0x27
mov dword [esp + 0x80], esi
mov eax, dword [esi + 0xc]
push ebx
lea edx, [esp + 0x20]
mov ecx, dword [eax]
lea edi, [eax + 0xc8]
push ecx
push edx
call fcn.00422b30
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [eax - 8]
mov dword [esp + 0x6c], eax
cmp ecx, ebx
jne 0x416074
mov dword [esp + 0x6c], edi
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], ebx
je 0x416083
mov edi, 2
jmp 0x4160a4
push edi
mov ecx, 0x43ad68
call fcn.00405400
test eax, eax
je 0x4160a2
mov eax, dword [esp + 0x24]
mov edi, 1
inc eax
mov dword [esp + 0x24], eax
jmp 0x4160a4
xor edi, edi
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, 0x439a00
call fcn.00406210
test eax, eax
jne 0x4160cb
cmp edi, 2
jne 0x4160c6
mov edx, dword [esp + 0x10]
mov dword [edx + 0x4c], 1
mov edi, 3
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov esi, dword [esi + 0xc]
cmp dword [esi + 8], ebx
je 0x416103
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x54]
inc edi
mov edx, dword [ecx + 0x38]
push eax
push ebx
push 0x1100
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x28], eax
jmp 0x41616e
cmp dword [esp + 0x90], 0xffff0000
jne 0x41616a
cmp edi, 3
je 0x41616e
mov eax, dword [esp + 0x10]
add esi, 0xc8
cmp esi, ebx
lea edi, [eax + 0x28]
jne 0x41612a
xor eax, eax
jmp 0x416131
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
mov ecx, edi
call fcn.00404650
mov ecx, 0x4356d4
test ecx, ecx
jne 0x416150
xor eax, eax
push ecx
push eax
mov ecx, edi
call fcn.00404650
jmp 0x41616e
push 0x4356d4
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4356d4
push eax
mov ecx, edi
call fcn.00404650
jmp 0x41616e
inc dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x416196
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.00415fd0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp eax, ebx
je 0x416196
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4350bc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4161c5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4161c5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00426ac0
add esp, 4
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
inc edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], edx
cmp eax, ebx
je 0x4161e1
mov dword [ebp + 0x14], eax
jne 0x415ff4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x416305
mov ebp, dword [esp + 0x24]
mov esi, 0x22
cmp ebp, ebx
jne 0x416247
mov edx, dword [esp + 0x90]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push eax
mov edx, dword [ecx + 0x38]
push ebx
push 0x110d
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], ebx
push edx
jmp 0x416299
jle 0x41629f
cmp ebp, eax
jge 0x41629f
mov edx, dword [esp + 0x10]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x38]
push ecx
push ebx
push 0x110d
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, dword [esp + 0x18]
jne 0x416313
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x30]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x90]
mov eax, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
push edx
push ebx
mov ecx, dword [eax + 0x38]
push 0x110d
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push edx
call fcn.004173f0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8