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

Disassembly:
sub esp, 0xb0
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx + 0x34]
push ebx
push ebp
mov ebp, dword [esp + 0xc0]
push esi
xor esi, esi
push edi
mov dword [esp + 0x40], esi
cmp eax, esi
jne 0x419231
mov eax, dword [ecx + 0x3c]
add dword [esp + 0xd4], eax
jmp 0x419239
cmp eax, 2
jne 0x419240
mov eax, dword [ecx + 0x3c]
sub dword [esp + 0xd8], eax
mov eax, dword [ecx + 0x38]
cmp eax, esi
jne 0x419250
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x40], ecx
jmp 0x419258
cmp eax, 8
jne 0x41925f
mov ecx, dword [ecx + 0x40]
sub dword [esp + 0xdc], ecx
cmp dword [esp + 0xd8], esi
jle 0x419759
cmp dword [esp + 0xdc], esi
jle 0x419759
push ebp
call dword [0x43926c]
mov edi, eax
mov dword [esp + 0x28], edi
cmp edi, esi
je 0x419759
mov dword [esp + 0x14], esi
inc edi
lea ebx, [esp + 0x14]
lea esi, [esp + 0xb0]
call fcn.0041a0b0
mov edx, dword [esp + 0xb4]
push edi
push edx
push ebp
call dword [0x439260]
mov eax, dword [esp + 0xcc]
push eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov byte [esp + 0x36], 0xff
mov byte [esp + 0x37], 1
call dword [0x43903c]
mov ebx, dword [esp + 0xd8]
mov ebp, eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xdc]
push 0
mov ecx, eax
mov edi, ebx
imul edi, eax
neg ecx
push 0
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x28]
push eax
mov ecx, 0x20
mov word [esp + 0x66], cx
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
mov word [esp + 0x68], dx
push ecx
lea edx, [edi*4]
push ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x78], edx
call dword [0x439034]
push eax
push ebp
mov dword [esp + 0x4c], eax
call dword [0x439038]
mov esi, dword [esp + 0xd0]
mov edx, dword [esi + 0x1c]
push edx
push ebp
mov dword [esp + 0x50], eax
call dword [0x439038]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x14], eax
push 0xffffff
lea eax, [ebx - 0xa]
add ecx, 0xfffffffc
push ebp
mov dword [esp + 0x98], 5
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
call dword [0x43905c]
push 0
push ebp
call dword [0x439020]
push 1
push ebp
call dword [0x439048]
mov edx, dword [esi + 0x38]
or edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x28]
or edx, 0x8020
push edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x94]
push eax
push ecx
push edx
push ebp
call dword [0x439268]
mov eax, dword [esp + 0x14]
push eax
push ebp
call dword [0x439038]
movzx ecx, byte [esi + 0x28]
mov dl, byte [esi + 0x29]
mov al, byte [esi + 0x2a]
mov byte [esp + 0x27], cl
movzx ecx, byte [esi + 0x2b]
mov byte [esp + 0x2f], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x1b], cl
test edi, edi
jle 0x41950e
mov ecx, dword [esp + 0x20]
add ecx, 2
mov dword [esp + 0x1c], edi
movzx edx, byte [ecx]
movzx eax, byte [ecx - 2]
add eax, edx
cmp dword [esi + 0x2c], 0
movzx edx, byte [ecx - 1]
je 0x4194d1
add eax, edx
je 0x4194f1
lea edx, [eax + 0x19]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
cmp edx, 0xff
jbe 0x41947c
or al, 0xff
jmp 0x41948a
cmp edx, 0x96
jb 0x4194f1
mov al, dl
test al, al
je 0x4194f1
cmp byte [esp + 0x1b], 0xff
jae 0x4194b5
movzx edx, al
movzx eax, byte [esp + 0x1b]
imul edx, eax
mov dword [esp + 0x14], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x14]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, byte [esp + 0x27]
mov byte [ecx - 2], dl
movzx edx, byte [esp + 0x2f]
mov byte [ecx - 1], dl
movzx edx, byte [esp + 0x2e]
mov byte [ecx], dl
mov byte [ecx + 1], al
jmp 0x419500
add eax, edx
je 0x4194ed
lea edx, [eax + 5]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
cmp edx, 0xff
jbe 0x419484
or al, 0xff
jmp 0x41948a
xor edx, edx
jmp 0x419484
mov byte [ecx - 2], 0
mov byte [ecx - 1], 0
mov byte [ecx], 0
mov byte [ecx + 1], 0
add ecx, 4
sub dword [esp + 0x1c], 1
jne 0x419449
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x419529
push eax
mov eax, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0x28]
mov ecx, ebx
call fcn.00418bf0
cmp dword [esi + 0x30], 0
je 0x4196e5
cmp byte [esi + 0x44], 0
je 0x419766
lea ebx, [esp + 0x14]
lea esi, [esp + 0xa0]
mov dword [esp + 0x14], 0
call fcn.0041a110
mov eax, dword [esp + 0xdc]
add eax, 0xfffffffb
cmp eax, 5
mov dword [esp + 0x78], 0x279
mov dword [esp + 0x7c], 0x1d2
mov dword [esp + 0x80], 0x14d
mov dword [esp + 0x84], 0xc8
mov dword [esp + 0x88], 0x85
mov dword [esp + 0x8c], 0x42
jle 0x41966d
mov ecx, dword [esp + 0xd8]
lea edx, [ecx + ecx*4]
lea edi, [edx + 5]
add eax, 0xfffffffb
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], eax
lea eax, [ecx - 5]
cmp eax, 5
jle 0x419658
add eax, 0xfffffffb
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
jmp 0x4195e0
mov eax, dword [esp + 0x20]
cmp dword [eax + edi*4], 0
je 0x41964c
mov ebp, 0xfffffffb
sub edi, edx
test ebp, ebp
je 0x41962c
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov ebx, dword [esp + eax*4 + 0x78]
mov ecx, 0xfffffffb
test ecx, ecx
je 0x419626
mov eax, dword [esp + 0xa4]
lea edx, [edi + ecx]
lea esi, [eax + edx*4]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + eax*4 + 0x78]
imul edx, ebx
add dword [esi], edx
inc ecx
cmp ecx, 5
jle 0x419605
add edi, dword [esp + 0xd8]
inc ebp
cmp ebp, 5
jle 0x4195f1
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
inc edi
sub dword [esp + 0x10], 1
mov dword [esp + 0x1c], edi
jne 0x4195e0
mov edi, dword [esp + 0x28]
add edi, ecx
sub dword [esp + 0x14], 1
mov dword [esp + 0x28], edi
jne 0x4195c0
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
xor ecx, ecx
test ebx, ebx
jle 0x4196c6
mov esi, dword [esp + 0xa4]
mov edx, dword [esi + ecx*4]
test edx, edx
je 0x4196bf
mov edi, dword [esp + 0x20]
cmp dword [edi + ecx*4], 0
jne 0x4196bf
mov eax, 0xd1b71759
mul edx
shr edx, 0xd
mov byte [esp + 0x13], 0xff
cmp edx, 0xff
ja 0x4196b8
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0x10]
mov dword [edi + ecx*4], edx
inc ecx
cmp ecx, ebx
jl 0x419685
jmp 0x4196cd
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x4196da
push esi
call fcn.00423279
add esp, 4
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, edi
mov edi, dword [esp + 0xc4]
call fcn.00418590
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0xd0]
push eax
push ebx
push 0
push 0
push ebp
push eax
mov eax, dword [esp + 0xf0]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov edx, dword [esp + 0x48]
push edx
push ebp
call dword [0x439038]
mov eax, dword [esp + 0x44]
push eax
call dword [0x43904c]
push ebp
call dword [0x439058]
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x419759
push eax
call fcn.00423279
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 0x1c
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x5c]
push ecx
push ebp
call dword [0x439034]
push eax
push ebp
mov dword [esp + 0x44], eax
call dword [0x439038]
mov dword [esp + 0x38], eax
test edi, edi
jle 0x41979e
mov ecx, edi
mov edi, dword [esp + 0x10]
mov eax, 0xffffff
rep stosd dword es:[edi], eax
mov esi, dword [esi + 0x30]
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ebx
call fcn.00418b80
xor ecx, ecx
lea eax, [ebx + ebx]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
mov edi, dword [esp + 0xe0]
add esp, 4
push edi
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
call fcn.004098d0
mov eax, dword [esp + 0x10]
push edi
push ebx
call fcn.00409970
mov eax, dword [esp + 0x10]
push edi
push ebx
call fcn.00409a10
mov eax, dword [esp + 0x10]
push edi
push ebx
call fcn.00409b50
push esi
call fcn.004237c4
lea eax, [edi - 1]
add esp, 4
test eax, eax
jle 0x41987f
mov edi, dword [esp + 0x20]
lea edx, [ebx*4 + 4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
lea esi, [ebx - 1]
test esi, esi
jle 0x419863
mov eax, dword [esp + 0x1c]
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
mov ecx, dword [edx + ecx]
test ecx, ecx
je 0x419858
cmp dword [eax + edi], 0
jne 0x419858
mov dword [eax + edi], ecx
mov edi, dword [esp + 0x20]
add eax, 4
add edx, 4
sub esi, 1
jne 0x419840
mov edx, dword [esp + 0x14]
lea eax, [ebx*4]
add dword [esp + 0x1c], eax
add edx, eax
sub dword [esp + 0x28], 1
mov dword [esp + 0x14], edx
jne 0x419832
mov edx, dword [esp + 0x38]
push edx
push ebp
call dword [0x439038]
mov eax, dword [esp + 0x3c]
push eax
call dword [0x43904c]
jmp 0x4196e1