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

Disassembly:
movzx ecx, word [edi + 2]
add edi, 2
push ecx
call fcn.004848ba
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x43511c
cmp eax, 0x57
je 0x4350ec
push 4
push str.Icon
push edi
call fcn.00482612
add esp, 0xc
test eax, eax
jne 0x434ffe
add edi, 8
mov eax, edi
call fcn.0040c8b0
test al, al
je 0x434fef
push 0x10
push ebx
push edi
call fcn.004833ab
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x43518d
push edi
call fcn.00483016
mov dword [esp + 0x30], eax
jmp 0x43518a
push 5
push str.Trans
push edi
call fcn.00482612
add esp, 0xc
test eax, eax
jne 0x43509d
push 0x1f
add edi, 0xa
lea edx, [esp + 0xa4]
push edi
push edx
call fcn.00485434
xor eax, eax
mov word [esp + 0xea], ax
add esp, 0xc
mov ebx, 0x49eed0
lea eax, [esp + 0xa0]
call fcn.00408fc0
test eax, eax
je 0x435050
xor ecx, ecx
mov word [eax], cx
lea esi, [esp + 0xa0]
call fcn.004680a0
cmp eax, 0xffffffff
jne 0x435079
push 0x10
mov edx, esi
salc
push 0
push edx
call fcn.004833ab
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x43518d
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x43518d
mov eax, edi
call fcn.0040c8b0
test al, al
je 0x4350ba
push 0x10
push ebx
push edi
call fcn.004833ab
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4350c7
push edi
call fcn.00483016
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
jge 0x4350d4
mov dword [esp + 0x10], ebx
jmp 0x43518d
cmp eax, 0xff
jle 0x43518d
mov dword [esp + 0x10], 0xff
jmp 0x43518d
lea ebx, [edi + 2]
mov eax, ebx
call fcn.0040c8b0
test al, al
je 0x435110
push 0x10
push 0
push ebx
call fcn.004833ab
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x43518d
push ebx
call fcn.00483016
mov dword [esp + 0x20], eax
jmp 0x43518a
lea esi, [edi + 2]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43512e
cmp ecx, 9
jne 0x435133
add eax, 2
jmp 0x435121
movzx ecx, word [eax]
test cx, cx
je 0x435180
cmp ecx, 0x2d
je 0x435145
cmp ecx, 0x2b
jne 0x435148
add eax, 2
cmp word [eax], 0x30
jne 0x435180
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x43515c
cmp ecx, 0x58
jne 0x435180
movzx ecx, word [eax + 4]
push ecx
call fcn.004831b9
add esp, 4
test eax, eax
je 0x435180
push 0x10
push 0
push esi
call fcn.004833ab
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x43518d
push esi
call fcn.00483016
mov dword [esp + 0x24], eax
add esp, 4
xor ebx, ebx
cmp edi, ebx
je 0x43523d
movzx eax, word [edi]
cmp ax, bx
je 0x43523d
movzx edx, ax
mov ecx, 0x49eed0
mov eax, 0x20
cmp dx, ax
je 0x4351db
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, bx
jne 0x4351b0
movzx eax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4351a3
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [edi + 2]
mov edi, esi
movzx eax, word [edi]
cmp eax, 0x20
je 0x4351ed
cmp eax, 9
jne 0x4351f2
add edi, 2
jmp 0x4351e0
cmp word [edi], 0x2a
je 0x434f93
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
push ecx
push edx
push esi
call fcn.004684f0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x60], edi
cmp edi, ebx
je 0x43523d
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x43524b
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
cmp dword [esp + 0x38], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0xd], al
jne 0x4352d7
lea eax, [esp + 0x8c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4352c0
push 1
lea ecx, [esp + 0x12]
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
mov eax, ebx
call fcn.00434550
mov edx, dword [esp + 0xb0]
add esp, 0x14
push edx
mov dword [esp + 0x34], eax
call esi
mov eax, dword [esp + 0x98]
push eax
call esi
push edi
call fcn.00468c80
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
test edi, edi
je 0x43523d
push 8
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
push edi
mov eax, ebx
call fcn.00434550
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x435537
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x4c]
sub edi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
push ecx
inc edi
inc ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x435537
mov edx, dword [esp + 0x4c]
push ebx
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x435537
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x68], eax
test eax, eax
je 0x435537
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
push 0xcc0020
push ecx
push edx
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x435537
push 8
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov eax, esi
call fcn.00434550
mov edi, eax
add esp, 0x14
mov dword [esp + 0x20], edi
test edi, edi
je 0x435537
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
imul ecx, dword [esp + 0x48]
imul edx, dword [esp + 0x58]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edx
jne 0x4353d0
cmp byte [esp + 0xf], 0
je 0x43540e
cmp dword [esp + 0x24], 0xffffffff
je 0x4353df
and dword [esp + 0x24], 0xf8f8f8
xor eax, eax
test edx, edx
jle 0x4353f1
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, edx
jl 0x4353e5
mov esi, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x435429
jmp 0x435400
and dword [esi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x435400
jmp 0x435412
mov esi, dword [esp + 0x34]
test ecx, ecx
jle 0x435429
lea eax, [esi + 3]
lea esp, [esp]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x435420
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jge 0x435649
test edx, edx
jle 0x435449
lea eax, [edi + 3]
mov ecx, edx
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x435440
xor edi, edi
mov dword [esp + 0x18], edi
test edx, edx
jle 0x435833
mov ebx, dword [esi]
mov dword [esp + 0x38], ebx
lea ecx, [ecx]
mov edx, dword [esp + 0x20]
lea esi, [edi*4]
cmp dword [esi + edx], ebx
je 0x435487
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43547d
cmp dword [eax], 0
jne 0x435487
cmp ebx, dword [esp + 0x24]
jne 0x435635
mov ecx, dword [esp + 0x28]
mov eax, edi
cdq
idiv ecx
mov edi, dword [esp + 0x58]
sub edi, eax
cmp dword [esp + 0x48], edi
jg 0x435631
sub ecx, edx
cmp dword [esp + 0x3c], ecx
jg 0x435631
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0xd], 1
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x44], ebx
jle 0x43553b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, eax
mov byte [esp + 0xd], 1
mov ecx, edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], edx
mov edi, edi
mov edx, dword [eax]
mov esi, dword [esp + 0x20]
cmp dword [esi + edi*4], edx
je 0x435506
cmp dword [esp + 0x30], 0
je 0x4354fc
mov esi, dword [esp + 0x54]
cmp dword [esi + eax], 0
jne 0x435506
cmp edx, dword [esp + 0x24]
jne 0x435628
inc ebx
cmp ebx, dword [esp + 0x3c]
jge 0x435510
inc edi
jmp 0x435525
mov edx, dword [esp + 0x28]
lea esi, [edx*4]
add dword [esp + 0x40], esi
xor ebx, ebx
add ecx, edx
mov edi, ecx
mov edx, dword [esp + 0x1c]
inc edx
add eax, 4
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x44]
jl 0x4354e0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x60]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x435574
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43556d
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43557f
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x435590
push eax
call fcn.004833c5
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4355a1
push eax
call fcn.004833c5
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4355b2
push eax
call fcn.004833c5
add esp, 4
cmp byte [esp + 0xd], 0
je 0x43523d
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4355e4
mov eax, edi
cdq
idiv dword [esp + 0x28]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x74]
add eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x435609
mov eax, edi
cdq
idiv dword [esp + 0x28]
push 0x18
sub eax, dword [esp + 0x78]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [0x4c1688]
push 1
push 0
push 0xffffffffffffffff
push 0x49c138
call fcn.004698a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x38]
mov byte [esp + 0xd], 0
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x50]
jl 0x435460
jmp 0x435833
xor edi, edi
mov dword [esp + 0x18], edi
test edx, edx
jle 0x435833
mov eax, edi
cdq
idiv dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
sub ecx, eax
cmp dword [esp + 0x48], ecx
jg 0x435824
mov eax, dword [esp + 0x28]
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x435824
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edi
cmp dword [esp + 0x44], eax
jle 0x43553b
mov eax, dword [esp + 0x30]
lea ecx, [edi*4]
sub eax, esi
mov byte [esp + 0xd], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], eax
lea esp, [esp]
movzx eax, byte [esi + 2]
mov dl, byte [esi + 1]
cmp ebx, eax
jle 0x4356d2
mov byte [esp + 0xe], 0
jmp 0x4356da
mov cl, al
sub cl, bl
mov byte [esp + 0xe], cl
movzx edx, dl
mov dword [esp + 0x84], edx
cmp ebx, edx
jle 0x4356ef
mov byte [esp + 0x16], 0
jmp 0x4356fd
mov ebx, dword [esp + 0x10]
mov cl, dl
sub cl, byte [esp + 0x10]
mov byte [esp + 0x16], cl
movzx ecx, byte [esi]
cmp ebx, ecx
jle 0x43570b
mov byte [esp + 0x14], 0
jmp 0x43571c
mov dl, cl
sub dl, byte [esp + 0x10]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x10]
mov edi, 0xff
sub edi, eax
cmp ebx, edi
jle 0x435736
mov eax, 0xff
mov byte [esp + 0x17], al
jmp 0x435741
add al, bl
mov byte [esp + 0x17], al
mov eax, 0xff
mov edi, eax
sub edi, edx
cmp ebx, edi
jle 0x43574f
mov byte [esp + 0x15], al
jmp 0x435755
add dl, bl
mov byte [esp + 0x15], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x435763
mov byte [esp + 0xf], al
jmp 0x435769
add cl, bl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
mov cl, byte [eax + edi*4 + 2]
mov dl, byte [eax + edi*4 + 1]
mov al, byte [eax + edi*4]
cmp cl, byte [esp + 0xe]
jb 0x4357a0
cmp cl, byte [esp + 0x17]
ja 0x4357a0
cmp dl, byte [esp + 0x16]
jb 0x4357a0
cmp dl, byte [esp + 0x15]
ja 0x4357a0
cmp al, byte [esp + 0x14]
jb 0x4357a0
cmp al, byte [esp + 0xf]
jbe 0x4357b9
cmp dword [esp + 0x30], 0
je 0x4357b1
mov eax, dword [esp + 0x54]
cmp dword [esi + eax], 0
jne 0x4357b9
mov ecx, dword [esp + 0x24]
cmp dword [esi], ecx
jne 0x435813
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x3c]
jge 0x4357cf
inc edi
mov dword [esp + 0x40], edi
jmp 0x4357f4
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x1c]
inc eax
add esi, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x44]
jge 0x435537
mov ebx, dword [esp + 0x10]
jmp 0x4356c0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov byte [esp + 0xd], 0
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x50]
jl 0x435657
mov ecx, dword [0x4c1688]
push 1
push 0
push 0xffffffffffffffff
push 0x49eb0c
call fcn.004698a0
jmp 0x43553b