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

Disassembly:
sub esp, 0x5a0
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
je 0x614c89
mov eax, 0x40000
jmp 0x615265
cmp byte [ebp + 0x2c], bl
je 0x614c98
mov eax, 0x50000
jmp 0x615265
push edi
mov edi, dword [esp + 0x5bc]
mov dword [esp + 0x24], ebx
cmp dword [ebp], ebx
je 0x614cb6
cmp edi, 4
je 0x614cb6
mov dword [esp + 0x24], 0xc
mov ecx, dword [esp + 0x5b0]
lea edx, [esp + 0x3a4]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x614cc6
cmp word [esp + 0x3a4], bx
jne 0x614ce9
mov eax, 0x10000
jmp 0x615264
push 0x2f
lea eax, [esp + 0x3a8]
pop ecx
cmp word [eax], 0x5c
jne 0x614cfc
mov word [eax], cx
add eax, 2
cmp word [eax], bx
jne 0x614cf3
cmp edi, 4
push esi
sete bl
mov byte [esp + 0x13], bl
test bl, bl
je 0x614d3f
lea ecx, [esp + 0x3a8]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x614d1f
sub ecx, edx
sar ecx, 1
push 0x2f
pop eax
cmp word [esp + ecx*2 + 0x3a6], ax
je 0x614d3f
mov bh, 1
jmp 0x614d43
xor eax, eax
mov bh, al
push 8
pop eax
mov esi, eax
mov dword [esp + 0x2c], esi
test bl, bl
jne 0x614d61
lea eax, [esp + 0x3a8]
push eax
call fcn.0061576f
test al, al
je 0x614d69
xor eax, eax
mov esi, eax
mov dword [esp + 0x2c], esi
cmp edi, 2
jne 0x614d7e
push dword [esp + 0x5b8]
mov ecx, ebp
call fcn.006173a8
jmp 0x614dc6
cmp edi, 1
jne 0x614d9a
push dword [esp + 0x5bc]
mov ecx, ebp
push dword [esp + 0x5bc]
call fcn.00617427
jmp 0x614dc6
cmp edi, 3
jne 0x614db6
push dword [esp + 0x5bc]
mov ecx, ebp
push dword [esp + 0x5bc]
call fcn.0061752b
jmp 0x614dc6
cmp edi, 4
jne 0x61525e
mov ecx, ebp
call fcn.00617314
test eax, eax
jne 0x615263
xor ecx, ecx
lea eax, [esp + 0x190]
push ecx
push ecx
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x3bc]
mov dword [esp + 0x3b8], ecx
push eax
push ecx
push 0xfde9
mov byte [esp + 0xa0], cl
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea ecx, [esp + 0x190]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x614e0d
sub ecx, edx
mov dword [esp + 0x60], ecx
test bh, bh
je 0x614e3b
lea edi, [esp + 0x190]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x614e26
mov ax, word [0x705aa4]
mov word [edi], ax
inc dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x398], 1
mov word [esp + 0x72], ax
xor edx, edx
mov eax, 0xb17
mov byte [esp + 0x294], dl
push 0x14
mov word [esp + 0x4c], ax
pop eax
mov word [esp + 0x4a], ax
mov eax, dword [ebp + 0x68]
push 8
mov dword [esp + 0x54], eax
pop eax
push 9
mov dword [esp + 0x190], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x3a4], edx
mov dword [esp + 0x58], edx
mov word [esp + 0x50], ax
pop edi
cmp dword [ebp], edx
je 0x614ea0
test bl, bl
jne 0x614ea0
mov eax, edi
mov word [esp + 0x4c], ax
mov word [esp + 0x74], ax
mov word [esp + 0x4e], si
test esi, esi
jne 0x614ebf
mov eax, dword [ebp + 0x70]
test eax, eax
js 0x614ebf
add eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
jmp 0x614ec3
mov dword [esp + 0x58], edx
mov eax, dword [ebp + 0x70]
lea esi, [esp + 0x14]
mov dword [esp + 0x5c], eax
xor eax, eax
mov word [esp + 0x70], ax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x58]
mov ecx, ebx
mov edx, dword [ebp + 0x5c]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x184], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x188], eax
mov al, byte [ebp + 0x58]
mov byte [esp + 0x19], al
mov eax, edx
shrd ecx, eax, 8
mov dword [esp + 0x68], edi
lea edi, [esp + 0x3c]
sar eax, 8
mov byte [esp + 0x1a], cl
mov eax, edx
mov ecx, ebx
mov dword [esp + 0x14], 0xd5455
shrd ecx, eax, 0x10
shrd ebx, edx, 0x18
sar eax, 0x10
mov al, byte [ebp + 0x50]
mov byte [esp + 0x1d], al
mov byte [esp + 0x1b], cl
sar edx, 0x18
mov edx, dword [ebp + 0x54]
mov eax, edx
mov byte [esp + 0x1c], bl
mov ebx, dword [ebp + 0x50]
mov ecx, ebx
shrd ecx, eax, 8
mov byte [esp + 0x18], 7
sar eax, 8
mov byte [esp + 0x1e], cl
mov eax, edx
mov ecx, ebx
mov dword [esp + 0x64], 0x11
shrd ecx, eax, 0x10
shrd ebx, edx, 0x18
sar eax, 0x10
mov al, byte [ebp + 0x60]
mov byte [esp + 0x21], al
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], bl
mov ebx, dword [ebp + 0x60]
mov ecx, ebx
sar edx, 0x18
mov edx, dword [ebp + 0x64]
mov eax, edx
shrd ecx, eax, 8
push ebp
sar eax, 8
mov byte [esp + 0x26], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shrd ebx, edx, 0x18
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], bl
movsd dword es:[edi], dword [esi]
sar eax, 0x10
push 0x6183f1
lea eax, [esp + 0x50]
sar edx, 0x18
movsd dword es:[edi], dword [esi]
push eax
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x4a], 5
call fcn.00617cfa
test eax, eax
je 0x614fe3
mov ecx, ebp
call fcn.00616e43
jmp 0x6151dd
mov eax, dword [esp + 0x60]
xor ebx, ebx
add eax, 0x1e
add eax, dword [esp + 0x64]
add dword [ebp + 0x18], eax
cmp dword [ebp + 0x14], ebx
je 0x615007
mov ecx, ebp
call fcn.00616e43
mov eax, dword [ebp + 0x14]
jmp 0x615263
lea edi, [ebp + 0x30]
mov dword [ebp + 0x34], 0x23456789
mov dword [edi], 0x12345678
mov dword [ebp + 0x38], 0x34567890
mov esi, dword [ebp]
test esi, esi
je 0x615035
mov al, byte [esi]
test al, al
je 0x615035
push eax
push edi
call fcn.00618410
inc esi
jne 0x615025
cmp byte [0x79848c], bl
jne 0x615054
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor esi, eax
push esi
call fcn.00637f94
pop ecx
mov esi, ebx
call fcn.00637f73
sar eax, 7
mov byte [esp + esi + 0x30], al
inc esi
cmp esi, 0xc
jl 0x615056
mov eax, dword [esp + 0x50]
mov esi, ebx
shr eax, 8
mov byte [esp + 0x3b], al
movzx eax, byte [esp + esi + 0x30]
push eax
push edi
call fcn.00618530
mov byte [esp + esi + 0x30], al
inc esi
cmp esi, 0xc
jl 0x615075
mov al, byte [esp + 0x13]
cmp dword [ebp], ebx
je 0x6150ae
test al, al
jne 0x6150ae
push 0xc
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.00618460
add dword [ebp + 0x18], 0xc
mov al, byte [esp + 0x13]
mov esi, ebx
cmp dword [ebp], ebx
je 0x6150be
test al, al
jne 0x6150be
xor ecx, ecx
inc ecx
jmp 0x6150c0
mov ecx, ebx
mov byte [ebp + 0x2d], cl
test al, al
jne 0x6150ef
mov ebx, dword [esp + 0x2c]
push 8
pop eax
cmp ebx, eax
jne 0x6150e0
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
call fcn.00616e86
jmp 0x6150eb
test ebx, ebx
jne 0x6150f9
mov ecx, ebp
call fcn.00616fdf
mov esi, eax
jmp 0x6150f9
mov dword [ebp + 0x90], ebx
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov ecx, ebp
mov byte [ebp + 0x2d], al
call fcn.00616e43
mov ecx, dword [ebp + 0x90]
add dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x615263
test esi, esi
jne 0x6151dd
add ecx, dword [esp + 0x28]
cmp dword [esp + 0x58], ecx
mov eax, dword [ebp + 0x78]
sete dl
mov dword [esp + 0x54], eax
cmp byte [ebp + 0x1c], 0
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
je 0x6151b0
xor eax, eax
cmp dword [ebp], eax
je 0x615151
cmp byte [esp + 0x13], al
je 0x6151b0
mov ax, word [esp + 0x4c]
mov word [esp + 0x4e], bx
test al, 1
jne 0x61516c
mov ecx, 0xfff7
and ax, cx
mov word [esp + 0x4c], ax
mov word [esp + 0x74], ax
mov ecx, ebp
mov eax, dword [esp + 0x7c]
sub eax, dword [ebp + 0x10]
push eax
call fcn.006175e3
test al, al
je 0x6151a6
push ebp
push 0x6183f1
lea eax, [esp + 0x50]
push eax
call fcn.00617cfa
test eax, eax
jne 0x6151dd
push dword [ebp + 0x18]
mov ecx, ebp
call fcn.006175e3
test al, al
jne 0x6151f2
mov eax, 0x2000000
jmp 0x615263
cmp word [esp + 0x4e], bx
jne 0x6151bf
test ebx, ebx
jne 0x6151c9
test dl, dl
jne 0x6151c9
mov eax, 0x4000000
jmp 0x615263
push ebp
push 0x6183f1
lea eax, [esp + 0x50]
push eax
call fcn.00617bdb
test eax, eax
je 0x6151e4
mov eax, 0x400
jmp 0x615263
mov ax, word [esp + 0x74]
add dword [ebp + 0x18], 0x10
mov word [esp + 0x4c], ax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x615263
push dword [esp + 0x68]
call fcn.00630af1
push dword [esp + 0x6c]
mov esi, eax
push dword [esp + 0x190]
push esi
call fcn.00631810
push 0x360
mov dword [esp + 0x19c], esi
call fcn.00630af1
mov edx, eax
lea esi, [esp + 0x5c]
mov ecx, 0xd8
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x44]
add esp, 0x14
test ecx, ecx
jne 0x615244
mov dword [ebp + 0x44], edx
jmp 0x61525a
xor ebx, ebx
jmp 0x61524a
mov ecx, dword [eax]
lea eax, [ecx + 0x35c]
cmp dword [eax], ebx
jne 0x615248
mov dword [ecx + 0x35c], edx
xor eax, eax
jmp 0x615263
mov eax, 0x10000
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x5a0
ret 0x10