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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 3
push 0x442310
mov dword [esp + 0x1c], edi
mov eax, dword [edi + 4]
push eax
mov dword [edi + 0x20], eax
call fcn.00437830
add esp, 0xc
test eax, eax
jne 0x43603b
mov eax, dword [edi + 0x20]
push 3
add eax, 3
push 0x44230c
push eax
call fcn.00437830
add esp, 0xc
test eax, eax
je 0x435f33
mov ecx, dword [edi + 0x20]
push 3
add ecx, 3
push 0x442308
push ecx
call fcn.00437830
add esp, 0xc
test eax, eax
jne 0x43603b
mov eax, dword [edi + 4]
xor ebx, ebx
push ebx
mov dword [edi + 0x18], ebx
lea ecx, [eax + 6]
mov dword [edi + 0x24], ecx
call fcn.00436cd0
cmp eax, 1
jne 0x435f66
mov ecx, dword [edi + 0x24]
push 3
call fcn.00436cd0
mov ecx, eax
mov eax, 1
inc ecx
shl eax, cl
lea edx, [eax + eax*2]
mov dword [edi + 0x18], edx
mov ecx, dword [edi + 0x24]
xor eax, eax
mov ax, word [ecx]
mov dword [edi + 0x10], eax
xor eax, eax
mov ax, word [ecx + 2]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x14], eax
mov edx, dword [0x477eac]
cmp ecx, edx
ja 0x43603b
cmp eax, dword [0x477e98]
ja 0x43603b
mov ecx, edi
mov dword [edi + 0x1c], ebx
call fcn.00436710
mov ecx, edi
call fcn.00436720
test eax, eax
je 0x435fbe
mov edx, dword [edi + 0x1c]
mov ecx, edi
inc edx
mov dword [edi + 0x1c], edx
call fcn.00436720
test eax, eax
jne 0x435fac
cmp dword [edi + 0x1c], ebx
je 0x43603b
mov eax, dword [edi + 0x14]
xor esi, esi
cmp eax, ebx
jle 0x435ff7
mov eax, dword [0x477eac]
mov edx, dword [edi + 0x10]
imul eax, esi
mov ecx, dword [0x477ea4]
push edx
push 0x7c1f
lea edx, [ecx + eax*2]
push edx
call fcn.0042c3e0
mov eax, dword [edi + 0x14]
add esp, 0xc
inc esi
cmp esi, eax
jl 0x435fcc
mov eax, dword [edi + 0x1c]
cmp eax, 1
jne 0x4362a5
mov ecx, dword [edi]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x43603b
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x43db20
push ebx
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
mov eax, dword [esp + 0x18]
je 0x436047
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [0x477ea8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [0x477eb0]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x34]
push ebx
mov ebx, ecx
mov eax, dword [esp + 0x14]
neg ebx
push ebx
mov ebx, dword [esp + 0x40]
push ebx
push ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
mov edx, dword [eax]
push ebx
push ecx
mov ecx, dword [edi + 0x10]
push ecx
push ebx
push ebx
push esi
push eax
call dword [edx + 0x20]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [0x477ea8]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x477e9c]
mov dx, word [edi + 0x10]
mov dword [esp + 0x24], ebx
mov word [eax], dx
mov edx, dword [0x477e9c]
mov cx, word [edi + 0x14]
mov word [edx + 2], cx
mov eax, dword [0x477e9c]
mov word [eax + 4], bx
mov ecx, dword [0x477e9c]
mov word [ecx + 6], bx
mov eax, dword [edi + 0x14]
cmp eax, ebx
mov ecx, 4
jle 0x436264
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x3c], ecx
inc ecx
cmp edx, eax
mov ebx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
jle 0x43623c
mov edx, dword [esp + 0x30]
lea eax, [ecx + ecx]
add edx, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
add edx, edx
mov dword [esp + 0x44], edx
mov edx, dword [0x477eac]
mov ebp, dword [esp + 0x14]
imul edx, dword [esp + 0x24]
add edx, ebp
mov ebp, dword [0x477ea4]
mov dx, word [ebp + edx*2]
cmp dx, 0x7c1f
jne 0x4361a9
test ebx, ebx
jne 0x436205
mov edx, dword [0x477e9c]
mov ebp, dword [esp + 0x44]
mov si, word [esp + 0x28]
mov ebx, 1
mov word [edx + ebp], si
mov edx, dword [0x477e9c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
mov word [edx + ebp], si
jmp 0x436205
cmp ebx, 1
jne 0x4361f2
mov ebp, dword [0x477e9c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], eax
add eax, 2
xor ebx, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
inc ecx
add eax, 2
mov dword [esp + 0x30], ecx
inc ecx
mov dword [esp + 0x28], esi
mov word [eax + ebp], dx
mov edx, dword [esp + 0x20]
inc ecx
add eax, 2
mov esi, 1
inc edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
jmp 0x436205
mov ebp, dword [0x477e9c]
inc ecx
mov word [eax + ebp], dx
add eax, 2
inc esi
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x14]
mov ebp, dword [edi + 0x10]
inc edx
cmp edx, ebp
mov dword [esp + 0x14], edx
jl 0x436152
test ebx, ebx
jne 0x43623c
mov eax, dword [0x477e9c]
mov ebx, dword [esp + 0x2c]
mov dx, word [esp + 0x28]
mov word [eax + ebx*2], dx
mov eax, dword [0x477e9c]
mov edx, dword [esp + 0x30]
mov word [eax + edx*2], si
mov eax, dword [0x477e9c]
mov ebx, dword [esp + 0x3c]
mov dx, word [esp + 0x20]
mov word [eax + ebx*2], dx
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x14]
inc eax
cmp eax, edx
mov dword [esp + 0x24], eax
jl 0x43611c
xor ebx, ebx
mov eax, dword [0x477e9c]
push 1
add eax, 0xfffffff8
push 1
lea edx, [eax - 4]
mov dword [eax], ebx
mov dword [eax + 4], ecx
push edx
mov dword [edx], 0x64
mov edx, dword [0x477e9c]
add ecx, ecx
push ecx
mov ecx, dword [esp + 0x8c]
push edx
push eax
call fcn.004343c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x68
ret 4
mov esi, dword [0x477e9c]
lea ecx, [eax*4 + 4]
sub esi, ecx
lea edx, [eax*4]
mov ebp, esi
mov ecx, edi
sub ebp, edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], ebp
mov dword [esi], ebx
call fcn.00436710
lea eax, [esp + 0x74]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, edi
call fcn.00436ac0
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4366dc
add ebp, 0xfffffffc
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], edx
cmp eax, 3
mov dword [esp + 0x44], ecx
jne 0x436373
mov eax, dword [edi + 0x14]
xor edx, edx
test eax, eax
jle 0x436373
mov eax, dword [0x477eac]
mov ecx, dword [edi + 0x10]
imul eax, edx
mov esi, dword [0x477ea4]
mov edi, dword [0x477ea0]
shl eax, 1
shl ecx, 1
add esi, eax
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edi, ecx
cmp edx, dword [ecx + 0x14]
jl 0x436336
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x4363a1
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4366ac
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x43db20
push 0
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
mov eax, dword [esp + 0x18]
je 0x4363d0
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4366ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [0x477ea8]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [0x477eb0]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [esp + 0x34]
push 0
neg edx
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
push 0
push edx
mov edx, dword [esp + 0x78]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push edx
push esi
push eax
call dword [ecx + 0x20]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x477ea8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [0x477e9c]
mov ax, word [edi + 0x10]
mov dword [esp + 0x24], 0
mov word [ecx + ebx*2], ax
mov eax, dword [0x477e9c]
mov dx, word [edi + 0x14]
inc ebx
mov word [eax + ebx*2], dx
mov ecx, dword [0x477e9c]
inc ebx
mov word [ecx + ebx*2], 0
mov edx, dword [0x477e9c]
inc ebx
mov word [edx + ebx*2], 0
mov eax, dword [edi + 0x14]
inc ebx
test eax, eax
jle 0x4365fc
mov eax, dword [edi + 0x10]
xor esi, esi
mov dword [esp + 0x3c], ebx
inc ebx
cmp eax, esi
mov edx, 1
mov dword [esp + 0x20], esi
jle 0x4365d5
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx]
add ecx, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
add ecx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [0x477eac]
mov edi, dword [0x477ea4]
imul ecx, dword [esp + 0x24]
add ecx, esi
mov cx, word [edi + ecx*2]
cmp cx, 0x7c1f
jne 0x436546
test edx, edx
jne 0x43659e
mov ecx, dword [0x477e9c]
mov ebp, dword [esp + 0x48]
mov di, word [esp + 0x28]
mov edx, 1
mov word [ecx + ebp], di
mov ecx, dword [0x477e9c]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1c]
mov word [edi + ecx], bp
jmp 0x43659e
cmp edx, 1
jne 0x43658b
mov edi, dword [0x477e9c]
mov dword [esp + 0x48], eax
add eax, 2
xor edx, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], eax
inc ebx
add eax, 2
mov dword [esp + 0x30], ebx
inc ebx
mov word [eax + edi], cx
mov ecx, dword [esp + 0x20]
inc ebx
add eax, 2
mov ebp, 1
inc ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
jmp 0x43659e
mov edi, dword [0x477e9c]
inc ebx
mov word [eax + edi], cx
add eax, 2
inc ebp
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 0x10]
jl 0x4364f4
test edx, edx
jne 0x4365d1
mov edx, dword [0x477e9c]
mov ecx, dword [esp + 0x2c]
mov ax, word [esp + 0x28]
mov word [edx + ecx*2], ax
mov edx, dword [0x477e9c]
mov eax, dword [esp + 0x30]
mov word [edx + eax*2], bp
mov edi, dword [esp + 0x14]
mov ecx, dword [0x477e9c]
mov eax, dword [esp + 0x3c]
mov dx, word [esp + 0x20]
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4364c2
mov eax, dword [esp + 0x74]
cmp eax, 2
jne 0x43664c
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x436693
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
add edx, esi
mov eax, dword [0x477ea4]
imul edx, dword [0x477eac]
push ecx
mov ecx, dword [esp + 0x6c]
add edx, ecx
push 0x7c1f
lea ecx, [eax + edx*2]
push ecx
call fcn.0042c3e0
mov eax, dword [esp + 0x70]
add esp, 0xc
inc esi
cmp esi, eax
jl 0x436613
jmp 0x436693
cmp eax, 3
jne 0x436693
mov eax, dword [edi + 0x14]
xor edx, edx
test eax, eax
jle 0x436693
mov eax, dword [0x477eac]
mov ecx, dword [edi + 0x10]
imul eax, edx
mov esi, dword [0x477ea0]
mov edi, dword [0x477ea4]
shl eax, 1
shl ecx, 1
add esi, eax
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edi, ecx
cmp edx, dword [ecx + 0x14]
jl 0x43665a
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov dword [edx], ebx
mov eax, dword [esp + 0x70]
lea eax, [eax + eax*4]
shl eax, 1
mov dword [ecx], eax
lea edx, [esp + 0x74]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
mov ecx, edi
call fcn.00436ac0
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x43630b
mov ebp, dword [esp + 0x58]
mov ecx, dword [edi + 0x1c]
mov eax, dword [0x477e9c]
push 1
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [ebx + ebx]
push ebp
push edx
push eax
push esi
call fcn.004343c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x68
ret 4