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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x101ddf78]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
push ebp
push esi
push edi
lea edx, [esp + 0x38]
mov dword [esp + 0x50], eax
xor eax, eax
push edx
push ecx
mov edi, 0x80004005
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
xor ebp, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x10034908
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x98]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x10034908
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x58], ebx
mov esi, eax
jne 0x10034602
mov dword [esp + 0x28], 1
shr eax, 1
jmp 0x10034606
mov dword [esp + 0x28], ebp
push 0
lea ecx, [esp + 0x18]
push ecx
push 3
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
mov edx, dword [edx + 0x90]
push 0x15
push ecx
push ebx
push eax
call edx
mov edi, eax
test edi, edi
jl 0x10034907
mov eax, esi
imul eax, ebx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101134ba
mov ebp, eax
push 0x2c
lea eax, [esp + 0x78]
push 0
push eax
mov dword [esp + 0x60], ebp
call fcn.10114870
add esp, 0x10
push 0
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov word [esp + 0x80], 1
mov word [esp + 0x82], 0x20
mov dword [esp + 0x84], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x100346ba
mov edi, 0x80004005
jmp 0x10034907
mov ecx, dword [esp + 0x48]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push eax
call edi
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x74]
push edx
push ebp
push esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
push 0
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
call edi
cmp dword [esp + 0x28], 0
jne 0x10034768
mov eax, dword [esp + 0x10]
imul eax, ebx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101134ba
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x1003473b
mov edi, 0x80004005
jmp 0x10034907
mov ecx, dword [esp + 0x4c]
push ecx
push eax
call edi
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
push 0
lea edx, [esp + 0x74]
push edx
mov edx, dword [esp + 0x34]
push eax
push edi
push 0
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
jmp 0x1003476c
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test edi, edi
mov dword [esp + 0x18], 0
jbe 0x100348d8
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x34], edx
lea edx, [edi*4 - 4]
add esi, 0xffffffff
imul edx, ebx
imul esi, ebx
mov eax, ebx
neg eax
add eax, eax
mov ecx, ebx
neg ecx
add eax, eax
add edx, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
jmp 0x100347d0
xor edi, edi
test ebx, ebx
jbe 0x100348b0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
sub eax, ebp
mov ecx, 0xf
mov dword [esp + 0x64], eax
jmp 0x100347f4
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x28], 0
je 0x10034809
mov esi, dword [esp + 0x30]
mov eax, dword [edx]
add esi, edi
mov esi, dword [ebp + esi*4]
jmp 0x1003480e
mov eax, dword [eax + edx]
mov esi, dword [edx]
test esi, esi
jne 0x1003481b
or eax, 0xff000000
mov dword [ebx], eax
jmp 0x10034821
mov dword [ebx], 0
cmp dword [esp + 0xd0], 0
je 0x1003488a
cmp edi, 0xc
jae 0x1003488a
mov eax, dword [esp + 0x18]
cmp eax, 5
jae 0x1003488a
mov esi, 0xa2a0
mov word [esp + 0xb6], si
mov word [esp + 0xba], si
mov ebp, 0xccc0
mov esi, 1
mov word [esp + 0xb4], bp
mov word [esp + 0xbc], bp
mov ebp, dword [esp + 0x50]
mov word [esp + 0xb8], 0xa4a0
movzx eax, word [esp + eax*2 + 0xb4]
shl esi, cl
test esi, eax
je 0x1003488a
or dword [ebx], 0xff808080
add edi, 1
add edx, 4
add ebx, 4
sub ecx, 1
cmp edi, dword [esp + 0x58]
jb 0x100347f0
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
add dword [esp + 0x18], 1
add dword [esp + 0x30], ecx
lea esi, [ebx*4]
add dword [esp + 0x34], esi
mov esi, dword [esp + 0x18]
add edx, eax
cmp esi, dword [esp + 0x10]
mov dword [esp + 0x24], edx
jb 0x100347d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push eax
call edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edi, eax
test edi, edi
jl 0x10034907
xor edi, edi
pop ebx
mov eax, dword [esp + 0x44]
test eax, eax
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x10034919
push eax
call esi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10034924
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10034935
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x28]
test eax, eax
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x10034946
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10034951
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10034962
push eax
call fcn.101130f7
add esp, 4
test ebp, ebp
je 0x1003496f
push ebp
call fcn.101130f7
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1003497f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xbc]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101139c9
add esp, 0xb4
ret