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

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x1b
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x140]
lea ecx, [esp + 0x4c]
push ecx
mov ebx, edx
mov eax, dword [edi]
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x54], 0x6c
mov dword [esp + 0x58], 0xe
call dword [eax + 0x58]
mov esi, dword [esp + 0x144]
test esi, esi
je 0x419137
mov edx, dword [esi]
mov ecx, 0x1b
xor eax, eax
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xb8], 0x6c
push eax
push esi
mov dword [esp + 0xc4], 0xe
call dword [edx + 0x58]
mov edi, dword [esp + 0x140]
mov eax, dword [esp + 0xa0]
cmp eax, 0x10
mov dword [esp + 0x14], eax
jne 0x41918c
lea ecx, [esp + 0x124]
push edi
push ecx
call fcn.00442ab0
mov al, byte [esp + 0x132]
add esp, 8
cmp al, 0xb
je 0x41916b
mov dword [esp + 0x14], 0xf
mov eax, dword [esp + 0x5c]
sar eax, 1
test esi, esi
mov dword [ebp + 0x1b8], eax
je 0x4191a6
mov edx, dword [esp + 0xc8]
sar edx, 1
mov dword [ebp + 0x1c0], edx
jmp 0x4191ac
cmp eax, 0x18
jne 0x4191d7
mov eax, dword [esp + 0x5c]
test esi, esi
mov dword [ebp + 0x1b8], eax
je 0x4191a6
mov eax, dword [esp + 0xc8]
mov dword [ebp + 0x1c0], eax
mov edx, dword [edi]
push 0
lea eax, [esp + 0x50]
push 1
push eax
push 0
push edi
call dword [edx + 0x64]
test esi, esi
je 0x4191ff
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xbc]
push 1
push edx
push 0
push esi
call dword [ecx + 0x64]
jmp 0x419211
cmp eax, 0x20
jne 0x4191ac
mov eax, dword [esp + 0x5c]
sar eax, 2
test esi, esi
mov dword [ebp + 0x1b8], eax
je 0x4191a6
mov ecx, dword [esp + 0xc8]
sar ecx, 2
mov dword [ebp + 0x1c0], ecx
jmp 0x4191ac
mov ecx, 0x1b
lea esi, [esp + 0x4c]
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14c]
test eax, eax
jne 0x419245
push 0x258
push 0x320
push eax
push eax
lea eax, [esp + 0x48]
push eax
call dword [0x46223c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x419260
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
cmp dword [ebp + 0x5ec], 1
jne 0x4192b3
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x38]
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], edx
push eax
push edi
mov edx, esi
mov ecx, ebp
call fcn.004145c0
lea edx, [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x148]
push ecx
mov ecx, dword [esp + 0xe0]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
mov edx, ebx
mov ecx, ebp
call fcn.00417640
jmp 0x4196f6
sub eax, edi
sub ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmp eax, 0xf
mov dword [esp + 0x30], ecx
jne 0x4193d5
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x28], edx
mov edi, eax
mov edx, eax
shr eax, 0x13
and eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1b8]
imul eax, dword [esp + 0x3c]
shr edx, 0xb
and edx, 0x1f
add eax, esi
shr edi, 3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
and edi, 0x1f
mov dword [esp + 0x18], eax
test edx, edx
jle 0x4196f6
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
test ecx, ecx
lea edx, [edx + eax*2]
lea esi, [esi + eax*2]
jle 0x4193b5
mov eax, edx
mov dword [esp + 0x1c], ecx
sub eax, esi
mov dword [esp + 0x24], eax
jmp 0x419349
mov eax, dword [esp + 0x24]
mov ax, word [eax + esi]
mov ebp, dword [esp + 0x2c]
and eax, 0xffff
add esi, 2
mov edx, eax
mov ecx, eax
shr eax, 0xa
and eax, 0x1f
and edx, 0x1f
sub ebp, eax
imul ebp, ebx
shr ebp, 8
shr ecx, 5
add ebp, eax
mov eax, dword [esp + 0x14]
and ecx, 0x1f
sub eax, ecx
imul eax, ebx
shr eax, 8
add eax, ecx
mov ecx, edi
sub ecx, edx
imul ecx, ebx
shl ebp, 0xa
shl eax, 5
shr ecx, 8
or ebp, eax
mov eax, dword [esp + 0x1c]
add ecx, edx
or ebp, ecx
dec eax
mov word [esi - 2], bp
mov dword [esp + 0x1c], eax
jne 0x419345
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
mov esi, dword [ebp + 0x1b8]
mov edx, dword [esp + 0x10]
add eax, esi
dec edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jne 0x419325
jmp 0x4196f6
cmp eax, 0x10
jne 0x4194e4
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x24], edx
mov edi, eax
mov edx, eax
shr eax, 0x13
and eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1b8]
imul eax, dword [esp + 0x3c]
shr edx, 0xa
and edx, 0x3f
add eax, esi
shr edi, 3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
and edi, 0x1f
mov dword [esp + 0x18], eax
test edx, edx
jle 0x4196f6
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
test ecx, ecx
lea edx, [edx + eax*2]
lea esi, [esi + eax*2]
jle 0x4194c4
mov eax, edx
mov dword [esp + 0x1c], ecx
sub eax, esi
mov dword [esp + 0x20], eax
jmp 0x41945b
mov eax, dword [esp + 0x20]
mov ax, word [eax + esi]
mov ebp, dword [esp + 0x2c]
and eax, 0xffff
add esi, 2
mov edx, eax
mov ecx, eax
shr eax, 0xb
sub ebp, eax
and edx, 0x1f
imul ebp, ebx
shr ebp, 8
shr ecx, 5
add ebp, eax
mov eax, dword [esp + 0x14]
and ecx, 0x3f
sub eax, ecx
imul eax, ebx
shr eax, 8
add eax, ecx
mov ecx, edi
sub ecx, edx
imul ecx, ebx
shl ebp, 0xb
shl eax, 5
shr ecx, 8
or ebp, eax
mov eax, dword [esp + 0x1c]
add ecx, edx
or ebp, ecx
dec eax
mov word [esi - 2], bp
mov dword [esp + 0x1c], eax
jne 0x419457
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
mov esi, dword [ebp + 0x1b8]
mov edx, dword [esp + 0x10]
add eax, esi
dec edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jne 0x419437
jmp 0x4196f6
cmp eax, 0x18
jne 0x4195ed
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x148]
mov dword [esp + 0x28], eax
mov eax, edx
and eax, 0xff
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, dh
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x1b8]
mov dl, byte [esp + 0x14a]
imul eax, edi
mov dword [esp + 0x2c], edx
lea edx, [esi + esi*2]
add eax, edx
mov edx, dword [esp + 0x10]
test edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jle 0x4196f6
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
xor esi, esi
test ecx, ecx
lea edi, [edx + eax]
mov edx, dword [esp + 0x28]
lea ebp, [edx + eax]
jle 0x4195c9
mov al, byte [edi + esi]
mov edx, dword [esp + 0x2c]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
imul edx, ebx
shr edx, 8
add dl, al
mov byte [esi + ebp], dl
mov al, byte [edi + esi + 1]
mov edx, dword [esp + 0x14]
inc esi
mov ecx, eax
and ecx, 0xff
sub edx, ecx
imul edx, ebx
shr edx, 8
add dl, al
mov byte [esi + ebp], dl
mov al, byte [edi + esi + 1]
mov edx, dword [esp + 0x1c]
inc esi
mov ecx, eax
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x20]
imul edx, ebx
shr edx, 8
add dl, al
mov byte [esi + ebp], dl
inc esi
cmp esi, ecx
jl 0x419564
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x1b8]
mov edx, dword [esp + 0x30]
add eax, esi
dec edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edx
jne 0x419550
jmp 0x4196f6
cmp eax, 0x20
jne 0x4196f6
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x148]
mov dword [esp + 0x24], eax
mov eax, edx
and eax, 0xff
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, dh
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x1b8]
mov dl, byte [esp + 0x14a]
imul eax, edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
add eax, esi
test edx, edx
mov dword [esp + 0x18], eax
jle 0x4196f6
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
test ecx, ecx
lea edx, [edx + eax*4]
lea edi, [esi + eax*4]
jle 0x4196db
mov ebp, edx
mov dword [esp + 0x10], ecx
sub ebp, edi
mov eax, dword [edi + ebp]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x48], eax
mov cl, ah
mov esi, eax
mov eax, ecx
xor ecx, ecx
mov cl, byte [esp + 0x4a]
and esi, 0xff
sub edx, ecx
add edi, 4
imul edx, ebx
and edx, 0xffff00
shl ecx, 8
add edx, ecx
mov ecx, dword [esp + 0x14]
sub ecx, eax
imul ecx, ebx
and cl, 0
shl eax, 8
add ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, esi
imul eax, ebx
shl edx, 8
shr eax, 8
or edx, ecx
add eax, esi
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [edi - 4], edx
dec eax
mov dword [esp + 0x10], eax
jne 0x419669
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0x1b8]
mov edx, dword [esp + 0x20]
add eax, esi
dec edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jne 0x41964f
mov eax, dword [esp + 0x140]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [esp + 0x144]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x419722
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x80]
add esp, 0x12c
ret 0x10