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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xac]
movzx ecx, word [eax]
add eax, 2
mov dword [esi + 0xac], eax
mov dword [esi + 0x50], ecx
movzx edx, word [eax]
add eax, 2
mov dword [esi + 0xac], eax
mov dword [esi + 0x4c], edx
movzx ecx, word [eax]
add eax, 2
mov dword [esi + 0x44], ecx
mov dword [esi + 0xac], eax
dec ecx
or ecx, 3
inc ecx
add eax, 2
mov dword [esi + 0x64], ecx
movzx edx, word [eax - 2]
mov dword [esi + 0xac], eax
mov dword [esi + 0x48], edx
mov dl, byte [eax]
inc eax
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x48]
imul eax, ecx
mov byte [esi + 0x2d], dl
mov edx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
add eax, 0x6428
push edi
add edx, 9
push eax
mov dword [esi + 0x8c], edx
call fcn.0042550e
mov ecx, dword [esi + 0x90]
mov edi, eax
lea eax, [edi + 0x28]
lea edx, [eax + 0x400]
add ecx, edx
add esp, 4
mov dword [esi + 0xa4], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edi
add ecx, 2
mov edx, 0x1000
mov word [ecx + 2], 0
mov word [ecx], 0
add ecx, 6
dec edx
jne 0x416862
mov dword [edi], 0x28
mov ecx, dword [esi + 0x44]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x48]
neg edx
mov ecx, pe_nt_image_headers32
mov dword [edi + 8], edx
xor edx, edx
mov ebx, 1
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
xor ecx, ecx
mov word [edi + 0xc], bx
mov word [edi + 0xe], 8
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], edx
mov cl, byte [esi + 0x2d]
test cl, cl
jns 0x416952
and ecx, 7
inc ecx
shl ebx, cl
cmp dword [esi + 0x80], edx
je 0x4168f2
mov ecx, dword [esi + 0x84]
mov ebp, dword [esi + 0xac]
lea ecx, [ecx + ecx*2]
add ebp, ecx
xor ecx, ecx
mov ch, byte [ebp + 2]
mov cl, byte [ebp + 1]
movzx ebp, byte [ebp]
shl ecx, 8
or ecx, ebp
mov dword [esi + 0x98], ecx
mov ebp, dword [esi + 0x8c]
lea ecx, [ebx + ebx*2]
add ebp, ecx
cmp ebx, edx
mov dword [esi + 0x8c], ebp
jbe 0x4169b0
mov ebp, ebx
lea ecx, [ecx]
mov ecx, dword [esi + 0xac]
mov cl, byte [ecx]
mov byte [eax + 2], cl
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov cl, byte [ecx]
mov byte [eax + 1], cl
mov ebx, dword [esi + 0xac]
inc ebx
mov dword [esi + 0xac], ebx
mov ecx, ebx
mov cl, byte [ecx]
mov byte [eax], cl
inc dword [esi + 0xac]
mov byte [eax + 3], 0
add eax, 4
dec ebp
jne 0x416910
jmp 0x4169b0
cmp dword [esi + 0x80], edx
mov ecx, dword [esi + 0xa0]
je 0x416982
mov ebx, dword [esi + 0x84]
lea ebp, [ecx + ebx*2]
add ebp, ebx
xor ebx, ebx
mov bh, byte [ebp + 2]
mov bl, byte [ebp + 1]
movzx ebp, byte [ebp]
shl ebx, 8
or ebx, ebp
mov dword [esi + 0x98], ebx
mov ebx, dword [esi + 0x78]
xor ebp, ebp
cmp ebx, edx
jle 0x4169b0
jmp 0x416990
mov bl, byte [ecx]
inc ecx
mov byte [eax + 2], bl
mov bl, byte [ecx]
inc ecx
mov byte [eax + 1], bl
mov bl, byte [ecx]
mov byte [eax], bl
mov byte [eax + 3], 0
mov ebx, dword [esi + 0x78]
inc ecx
add eax, 4
inc ebp
cmp ebp, ebx
jl 0x416990
mov eax, dword [esi + 0xac]
movzx ecx, byte [eax]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x8c]
inc eax
inc ecx
mov dword [esi + 0x8c], ecx
mov ecx, dword [esi + 0x30]
mov ebp, 1
shl ebp, cl
mov ecx, dword [esi + 0x34]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x30]
add ebp, 2
inc ecx
inc eax
mov dword [esi + 0x30], eax
mov eax, 1
mov dword [esi + 0x34], ecx
lea ebx, [ebp - 1]
mov ecx, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
mov dword [esi + 0x38], edx
mov byte [esi + 0x2c], 0
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x74], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edx
call fcn.00416570
movzx ecx, ax
cmp ecx, ebx
mov dword [esp + 0x1c], eax
jne 0x416a76
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x9c]
push 0
push edi
push eax
push 4
push edi
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov ebp, dword [esi + 0xac]
mov edx, dword [esi + 0x8c]
inc ebp
inc edx
push edi
mov ebx, eax
mov dword [esi + 0xac], ebp
mov dword [esi + 0x8c], edx
call fcn.004258ee
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x1c]
lea edx, [ebx - 1]
cmp ecx, edx
jne 0x416aac
mov edx, dword [esi + 0x34]
mov ebp, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x30], edx
call fcn.00416570
movzx ecx, ax
mov edx, ebp
cmp ecx, edx
mov dword [esp + 0x14], eax
jg 0x416bf3
push eax
mov ecx, esi
call fcn.00416430
jmp 0x416bd8
xor edi, edi
cmp ecx, ebp
jge 0x416b24
mov edx, dword [esp + 0x18]
cmp ecx, edx
mov ebx, eax
jl 0x416ae9
lea esp, [esp]
mov ecx, dword [esp + 0x10]
movzx eax, bx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
mov word [eax + 4], di
mov edi, ebx
xor ebx, ebx
mov bx, word [eax + 2]
cmp bx, di
jae 0x416c06
movzx eax, bx
cmp eax, edx
jge 0x416ac0
push ebx
mov ecx, esi
call fcn.00416430
test di, di
je 0x416b90
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
movzx eax, di
lea ecx, [eax + eax*2]
lea edi, [edx + ecx*2]
xor eax, eax
mov al, byte [edi]
mov ecx, esi
push eax
call fcn.00416430
movzx edi, word [edi + 4]
test di, di
jne 0x416b00
jmp 0x416b90
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, bx
cmp eax, ecx
jl 0x416b59
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x10]
lea eax, [eax + edx*2]
mov word [eax + 4], di
mov edi, ebx
xor ebx, ebx
mov bx, word [eax + 2]
cmp bx, di
jae 0x416c1d
movzx eax, bx
cmp eax, ecx
jge 0x416b33
push ebx
mov ecx, esi
call fcn.00416430
test di, di
je 0x416b88
mov edx, dword [esp + 0x10]
movzx eax, di
lea ecx, [eax + eax*2]
lea edi, [edx + ecx*2]
xor eax, eax
mov al, byte [edi]
mov ecx, esi
push eax
call fcn.00416430
movzx edi, word [edi + 4]
test di, di
jne 0x416b66
push ebx
mov ecx, esi
call fcn.00416430
mov edx, dword [esp + 0x10]
lea ecx, [ebp + ebp*2]
lea eax, [edx + ecx*2]
mov cx, word [esp + 0x14]
mov word [eax + 2], cx
mov byte [eax], bl
mov ecx, dword [esi + 0x30]
mov edx, 1
shl edx, cl
inc ebp
cmp ebp, edx
jne 0x416bb9
inc ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x30]
mov eax, 0xc
cmp ecx, eax
jbe 0x416bc8
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00416570
movzx ecx, ax
cmp ecx, ebx
mov dword [esp + 0x1c], eax
jne 0x416a72
jmp 0x416a29
push edi
call fcn.004258ee
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004258ee
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x20]
push edx
call fcn.004258ee
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
push ebx
push ebp
mov ebp, dword [ecx + 0xa8]
xor ebx, ebx
cmp ebp, ebx
je 0x416fa3
mov eax, dword [ecx + 0x8c]
push esi
push edi
mov edi, dword [ecx + 0x6c]
cmp eax, edi
jg 0x416fc3
jmp 0x416df0
mov eax, dword [ecx + 0x8c]
inc eax
mov dword [ecx + 0x8c], eax
mov esi, eax
mov eax, dword [ecx + 0xac]
movzx edx, byte [eax]
inc eax
cmp edx, 0x3b
mov dword [ecx + 0xac], eax
ja case.0x416e1f.0
movzx edx, byte [edx + 0x416ff0]
jmp dword [edx*4 + 0x416fe0]
inc esi
mov dword [ecx + 0x8c], esi
movzx edx, byte [eax]
inc eax
dec edx
cmp edx, 0xfe
mov dword [ecx + 0xac], eax
ja case.0x416e1f.0
movzx edx, byte [edx + 0x417040]
jmp dword [edx*4 + 0x41702c]
xor edx, edx
inc eax
mov dword [ecx + 0xac], eax
mov dl, byte [eax]
and edx, 0x1c
mov dword [ecx + 0x7c], edx
xor edx, edx
mov dl, byte [eax]
and edx, 1
inc eax
mov dword [ecx + 0xac], eax
mov dword [ecx + 0x80], edx
movzx edx, word [eax]
add eax, 2
mov dword [ecx + 0xac], eax
mov dword [ecx + 0x88], edx
movzx edx, byte [eax]
inc eax
add esi, 5
mov dword [ecx + 0x84], edx
mov dword [ecx + 0xac], eax
mov dword [ecx + 0x8c], esi
jmp 0x416f81
mov al, byte [eax]
cmp al, bl
je 0x416f81
mov esi, dword [ecx + 0xac]
movzx eax, al
lea edx, [eax + 1]
add esi, edx
mov edx, dword [ecx + 0x8c]
inc eax
add edx, eax
mov eax, edx
cmp eax, edi
mov dword [ecx + 0xac], esi
mov dword [ecx + 0x8c], edx
jg case.0x416e1f.0
mov eax, esi
mov al, byte [eax]
cmp al, bl
jne 0x416eb1
jmp 0x416f81
add eax, 0xd
add esi, 0xd
mov dword [ecx + 0xac], eax
mov dword [ecx + 0x8c], esi
mov al, byte [eax]
cmp al, bl
je 0x416f81
mov esi, dword [ecx + 0xac]
movzx eax, al
lea edx, [eax + 1]
add esi, edx
mov edx, dword [ecx + 0x8c]
inc eax
add edx, eax
mov eax, edx
cmp eax, edi
mov dword [ecx + 0xac], esi
mov dword [ecx + 0x8c], edx
jg case.0x416e1f.0
mov eax, esi
mov al, byte [eax]
cmp al, bl
jne 0x416f03
jmp 0x416f81
add eax, 0xc
add esi, 0xc
mov dword [ecx + 0xac], eax
mov dword [ecx + 0x8c], esi
mov al, byte [eax]
cmp al, bl
je 0x416f81
mov edi, edi
mov esi, dword [ecx + 0xac]
movzx eax, al
lea edx, [eax + 1]
add esi, edx
mov edx, dword [ecx + 0x8c]
inc eax
add edx, eax
mov eax, edx
cmp eax, edi
mov dword [ecx + 0xac], esi
mov dword [ecx + 0x8c], edx
jg case.0x416e1f.0
mov eax, esi
mov al, byte [eax]
cmp al, bl
jne 0x416f50
mov esi, dword [ecx + 0xac]
mov edx, dword [ecx + 0x8c]
inc esi
inc edx
mov eax, edx
cmp eax, edi
mov dword [ecx + 0xac], esi
mov dword [ecx + 0x8c], edx
jle 0x416fb4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov dword [ecx + 0xac], ebp
mov dword [ecx + 0x8c], ebx
mov edx, dword [ecx + 0x8c]
cmp edx, dword [ecx + 0x6c]
jle 0x416df0
pop edi
pop esi
mov dword [ecx + 0xac], ebp
pop ebp
mov dword [ecx + 0x8c], ebx
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
pop ebx
jmp 0x4167b0