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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4b4
mov eax, dword [0x440040]
xor eax, esp
mov dword [esp + 0x4b0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x14], esi
cmp dword [esi + 0x14], 0
je 0x41904f
mov eax, 0x40000
jmp 0x4192d0
cmp byte [esi + 0x2c], 0
je 0x41905f
mov eax, 0x50000
jmp 0x4192d0
mov edi, dword [esi]
lea edx, [esp + 0x3b0]
mov ecx, dword [ebp + 8]
neg edi
sbb edi, edi
and edi, 0xc
sub edx, ecx
mov dword [esp + 0x1c], edi
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x419078
mov al, byte [esp + 0x3b0]
test al, al
jne 0x419097
mov eax, 0x10000
jmp 0x4192d0
lea ecx, [esp + 0x3b0]
cmp al, 0x5c
jne 0x4190a5
mov byte [ecx], 0x2f
inc ecx
mov al, byte [ecx]
test al, al
jne 0x41909e
lea ecx, [esp + 0x3b0]
call fcn.004188a4
push dword [ebp + 0x10]
movzx ebx, al
mov ecx, esi
push dword [esp + 0x14]
xor ebx, 1
shl ebx, 3
mov dword [esp + 0x20], ebx
call fcn.00418ccf
test eax, eax
jne 0x4192d0
and dword [esp + 0x37c], eax
xor ecx, ecx
mov byte [esp + 0x58], al
mov al, byte [esp + ecx + 0x3b0]
mov byte [esp + ecx + 0x168], al
inc ecx
test al, al
jne 0x4190e8
lea ecx, [esp + 0x168]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419105
xor eax, eax
mov dword [esp + 0x370], 1
mov word [esp + 0x4a], ax
sub ecx, edx
mov eax, 0xb17
mov dword [esp + 0x38], ecx
push 0x14
mov word [esp + 0x24], ax
xor edx, edx
pop eax
mov word [esp + 0x22], ax
mov eax, dword [esi + 0x68]
push 8
mov dword [esp + 0x2c], eax
pop eax
mov byte [esp + 0x26c], dl
mov dword [esp + 0x164], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x378], edx
mov dword [esp + 0x2c], edx
mov word [esp + 0x24], ax
cmp dword [esi], edx
je 0x419170
push 9
pop eax
mov word [esp + 0x24], ax
mov ecx, dword [esi + 0x70]
mov word [esp + 0x4c], ax
mov word [esp + 0x26], bx
test ebx, ebx
jne 0x41918e
test ecx, ecx
js 0x41918e
lea eax, [ecx + edi]
mov dword [esp + 0x30], eax
jmp 0x419192
mov dword [esp + 0x30], edx
xor eax, eax
mov ebx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
lea edi, [esp + 0x3a4]
mov word [esp + 0x48], ax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0x18]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x384]
mov dword [esp + 0x15c], eax
lea eax, [esp + 0x3a4]
mov dword [esp + 0x160], eax
mov al, byte [esi + 0x58]
mov byte [esp + 0x389], al
mov eax, edx
mov dword [esp + 0x34], ecx
mov ecx, ebx
shrd ecx, eax, 8
mov eax, edx
mov dword [esp + 0x384], 0xd5455
mov byte [esp + 0x38a], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov al, byte [esi + 0x50]
mov byte [esp + 0x38b], cl
shrd ebx, edx, 0x18
mov edx, dword [esi + 0x54]
mov byte [esp + 0x38d], al
mov eax, edx
mov byte [esp + 0x38c], bl
mov ebx, dword [esi + 0x50]
mov ecx, ebx
shrd ecx, eax, 8
mov eax, edx
mov byte [esp + 0x388], 7
mov byte [esp + 0x38e], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov al, byte [esi + 0x60]
shrd ebx, edx, 0x18
mov edx, dword [esi + 0x64]
mov byte [esp + 0x38f], cl
mov byte [esp + 0x390], bl
mov ebx, dword [esi + 0x60]
mov ecx, ebx
mov byte [esp + 0x391], al
lea esi, [esp + 0x384]
mov eax, edx
mov dword [esp + 0x3c], 0x11
shrd ecx, eax, 8
mov eax, edx
mov dword [esp + 0x40], 9
mov byte [esp + 0x392], cl
mov ecx, ebx
shrd ecx, eax, 0x10
shrd ebx, edx, 0x18
mov byte [esp + 0x393], cl
lea ecx, [esp + 0x20]
mov byte [esp + 0x394], bl
mov ebx, dword [esp + 0x14]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x3aa], 5
call fcn.00417de6
pop ecx
test eax, eax
je 0x4192e7
mov ecx, ebx
call fcn.00418e72
mov eax, 0x400
mov ecx, dword [esp + 0x4bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00419f88
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x38]
add eax, 0x1e
add eax, dword [esp + 0x3c]
add dword [ebx + 0x18], eax
cmp dword [ebx + 0x14], 0
je 0x419307
mov ecx, ebx
call fcn.00418e72
mov eax, dword [ebx + 0x14]
jmp 0x4192d0
mov dword [ebx + 0x30], 0x12345678
mov dword [ebx + 0x34], 0x23456789
mov dword [ebx + 0x38], 0x34567890
mov esi, dword [ebx]
test esi, esi
je 0x419335
mov dl, byte [esi]
test dl, dl
je 0x419335
lea ecx, [ebx + 0x30]
call fcn.00418840
add esi, 1
jne 0x419322
cmp byte [0x441848], 0
jne 0x41934b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0041fdcd
pop ecx
xor esi, esi
call fcn.0041fdac
sar eax, 7
mov byte [esp + esi + 0x398], al
inc esi
cmp esi, 0xc
jl 0x41934d
mov eax, dword [esp + 0x28]
shr eax, 8
xor esi, esi
mov byte [esp + 0x3a3], al
mov dl, byte [esp + esi + 0x398]
lea ecx, [ebx + 0x30]
call fcn.00418883
mov byte [esp + esi + 0x398], al
inc esi
cmp esi, 0xc
jl 0x419372
cmp dword [ebx], 0
je 0x4193a8
push 0xc
lea eax, [esp + 0x39c]
mov ecx, ebx
push eax
call fcn.00418b93
add dword [ebx + 0x18], 0xc
mov esi, dword [esp + 0x18]
xor edi, edi
cmp dword [ebx], edi
setne al
mov byte [ebx + 0x2d], al
cmp esi, 8
jne 0x4193c9
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00418eb6
jmp 0x4193d4
test esi, esi
jne 0x4193d6
mov ecx, ebx
call fcn.00418fc6
mov edi, eax
mov ecx, ebx
mov byte [ebx + 0x2d], 0
call fcn.00418e72
mov ecx, dword [ebx + 0x90]
add dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4192d0
test edi, edi
jne 0x4192cb
add ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x78]
sete dl
mov dword [esp + 0x2c], eax
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
je 0x419482
cmp dword [ebx], edi
jne 0x419482
mov ax, word [esp + 0x24]
mov word [esp + 0x26], si
test al, 1
jne 0x41943f
mov ecx, 0xfff7
and ax, cx
mov word [esp + 0x24], ax
mov word [esp + 0x4c], ax
mov ecx, ebx
mov eax, dword [esp + 0x54]
sub eax, dword [ebx + 0x10]
push eax
call fcn.00418c78
test al, al
je 0x419478
push ebx
lea ecx, [esp + 0x24]
call fcn.00417de6
pop ecx
test eax, eax
jne 0x4192cb
push dword [ebx + 0x18]
mov ecx, ebx
call fcn.00418c78
test al, al
jne 0x4194ba
mov eax, 0x2000000
jmp 0x4192d0
cmp word [esp + 0x26], si
jne 0x41952b
test esi, esi
jne 0x419499
test dl, dl
je 0x41952b
push ebx
lea ecx, [esp + 0x24]
call fcn.00418081
pop ecx
test eax, eax
jne 0x4192cb
mov ax, word [esp + 0x4c]
add dword [ebx + 0x18], 0x10
mov word [esp + 0x24], ax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4192d0
push dword [esp + 0x40]
call fcn.0041a362
pop ecx
push dword [esp + 0x40]
mov esi, eax
push dword [esp + 0x164]
push esi
call fcn.0041b5c0
add esp, 0xc
mov dword [esp + 0x160], esi
push 0x360
call fcn.00419f96
pop ecx
mov edx, eax
lea esi, [esp + 0x20]
mov ecx, 0xd8
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
test ecx, ecx
jne 0x419514
mov dword [ebx + 0x44], edx
jmp 0x419524
mov ecx, eax
mov eax, dword [ecx + 0x35c]
test eax, eax
jne 0x419512
mov dword [ecx + 0x35c], edx
xor eax, eax
jmp 0x4192d0
mov eax, 0x4000000
jmp 0x4192d0