Function at 0x432c00
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c765
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x318], esi
test esi, esi
jne 0x432e5d
call fcn.004199d0
push eax
lea ecx, [ebp - 0xc0]
call fcn.00415e60
mov dword [ebp - 4], edi
call fcn.004199e0
mov ecx, eax
call fcn.00416cc0
test al, al
je 0x432d50
push dword [ebp + 8]
lea ecx, [ebp - 0xc0]
call fcn.004163e0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0xc0]
call fcn.00416a70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x2f4], ebx
cmp ebx, 0xffffffff
jne 0x432cbd
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415fe0
jmp 0x432f37
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x432ceb
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415fe0
jmp 0x432f37
push edi
mov dword [ebp - 0x314], 0
call fcn.004ef940
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x314]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2f4]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
cmp dword [ebp - 0x314], edi
je 0x432e46
push ebx
call fcn.004efc69
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00415fe0
jmp 0x432f37
call fcn.004199e0
push eax
lea ecx, [ebp - 0xc0]
call fcn.00416350
call fcn.00419f00
test al, al
je 0x432d71
call fcn.004199f0
jmp 0x432d89
push 2
push 0
lea ecx, [ebp - 0xc0]
call fcn.00416a70
push eax
call fcn.00434300
add esp, 0xc
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x432ca6
lea ecx, [ebp - 0x2f0]
push ecx
lea ecx, [ebp - 0x310]
push ecx
push 1
push dword [ebp + 8]
push eax
call fcn.004338c0
add esp, 0x14
test eax, eax
jne 0x432ca6
mov edi, dword [ebp - 0xc4]
test edi, edi
je 0x432ca6
push edi
call fcn.004ef940
push 3
push edi
mov ebx, eax
push ebx
push dword [ebp - 0x310]
push dword [ebp - 0x2f4]
call fcn.00434750
add esp, 0x18
test eax, eax
je 0x432e2f
cmp eax, 0x600
je 0x432e2f
push ebx
call fcn.004efc69
add esp, 4
call fcn.00419f00
test al, al
jne 0x432ca6
push dword [ebp - 0x2f4]
call fcn.00433650
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00415fe0
jmp 0x432f37
call fcn.00419f00
test al, al
jne 0x432e46
push dword [ebp - 0x2f4]
call fcn.00433650
add esp, 4
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415fe0
jmp 0x432f2f
mov ecx, 0x5681f4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432e8a
test dx, dx
je 0x432e86
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432e8a
add eax, 4
add ecx, 4
test dx, dx
jne 0x432e64
xor eax, eax
jmp 0x432e8f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x432eb3
mov ebx, 1
mov eax, ebx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x308], eax
xor eax, eax
mov dword [ebp - 0x2f4], eax
jmp 0x433003
push esi
push dword [ebp + 8]
call fcn.004199c0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [ebp - 0x300], ebx
test ebx, ebx
je 0x432f37
push ebx
call fcn.004199c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x310], eax
push ebx
test eax, eax
jne 0x432eef
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x432f37
call fcn.004199c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x432f37
push edi
call fcn.004ef940
add esp, 4
mov ebx, eax
push edi
push dword [ebp - 0x310]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push ebx
call fcn.004f1be0
add esp, 0xc
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
jne 0x432fe2
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x2f4], ebx
cmp ebx, 0xffffffff
je 0x432f75
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x432f93
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret
push edi
mov dword [ebp - 0x300], 0
call fcn.004ef940
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x300]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x300], edi
je 0x432fde
push ebx
call fcn.004efc69
add esp, 4
jmp 0x432f75
test ebx, ebx
je 0x432f75
xor eax, eax
mov dword [ebp - 0x304], 1
mov dword [ebp - 0x2f4], eax
mov eax, 1
mov dword [ebp - 0x308], eax
test esi, esi
je 0x43303f
mov ecx, 0x5681f4
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x433036
test dx, dx
je 0x433032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x433036
add eax, 4
add ecx, 4
test dx, dx
jne 0x433010
xor eax, eax
jmp 0x43303b
sbb eax, eax
or eax, 1
test eax, eax
je 0x433082
push 4
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x304]
push eax
push edi
push ebx
call fcn.0044e050
push ebx
mov dword [ebp - 0x2f4], eax
call fcn.004efc69
mov ebx, dword [ebp - 0x2f4]
add esp, 0x1c
test ebx, ebx
je 0x432f75
mov ecx, dword [ebp - 0x308]
jmp 0x433089
mov ecx, 1
xor ebx, ebx
mov edx, dword [ebp - 0x304]
mov eax, ecx
push 0
neg eax
imul ecx, edx
push 0
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2fc]
movlpd qword [ebp - 0x24], xmm0
push eax
push 0
lea eax, [ebp - 0x3c]
shl ecx, 2
push eax
push 0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0x28
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], 0x200001
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x2f5], 0
mov dword [ebp - 0x2fc], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x314], eax
test eax, eax
je 0x432f75
mov dword [ebp - 0x30c], 0
test esi, esi
je 0x4331a8
mov edx, 0x5681f4
mov ecx, esi
nop dword [eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x433146
test ax, ax
je 0x433142
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x433146
add ecx, 4
add edx, 4
test ax, ax
jne 0x433120
xor eax, eax
jmp 0x43314b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4331a8
mov dword [ebp - 0x310], eax
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
jne 0x433165
push eax
call dword [sym.imp.USER32.dll_CharNextW]
push 0x10
lea ecx, [ebp - 0x310]
push ecx
push eax
call fcn.0051c56a
mov ecx, eax
mov byte [ebp - 0x30a], al
shr ecx, 0x18
lea ebx, [ebp - 0x30c]
mov byte [ebp - 0x309], cl
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x2f4], ebx
shr ecx, 8
shr eax, 0x10
mov byte [ebp - 0x30b], cl
mov byte [ebp - 0x30c], al
mov eax, dword [ebp - 0x308]
xor edi, edi
imul eax, dword [ebp - 0x304]
test eax, eax
jle 0x4332d3
mov esi, dword [ebp + 0x10]
lea edx, [ebx + 3]
mov dword [ebp - 0x300], edx
nop dword [eax + eax]
mov eax, dword [ebp - 0x2fc]
mov cl, byte [edx + edi*4]
mov byte [eax + edi*4 + 3], cl
mov eax, dword [ebp - 0x2fc]
cmp byte [eax + edi*4 + 3], 0xff
lea ebx, [eax + edi*4]
jae 0x433256
movzx eax, byte [edx + edi*4 - 1]
movzx ecx, byte [edx + edi*4]
imul ecx, eax
mov eax, 0x80808081
mov byte [ebp - 0x2f5], 1
mul ecx
shr edx, 7
mov byte [ebx], dl
mov ebx, dword [ebp - 0x300]
movzx eax, byte [ebx + edi*4 - 2]
movzx ecx, byte [ebx + edi*4]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x2fc]
shr edx, 7
mov byte [eax + edi*4 + 1], dl
movzx eax, byte [ebx + edi*4 - 3]
movzx ecx, byte [ebx + edi*4]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x2fc]
shr edx, 7
mov byte [eax + edi*4 + 2], dl
mov edx, ebx
jmp 0x43327a
mov al, byte [edx + edi*4 - 1]
mov byte [ebx], al
mov eax, dword [ebp - 0x2fc]
movzx ecx, byte [edx + edi*4 - 2]
mov byte [eax + edi*4 + 1], cl
mov eax, dword [ebp - 0x2fc]
movzx ecx, byte [edx + edi*4 - 3]
mov byte [eax + edi*4 + 2], cl
mov eax, dword [ebp - 0x2fc]
cmp dword [eax + edi*4], esi
jne 0x4332b1
mov byte [eax + edi*4], 0
mov eax, dword [ebp - 0x2fc]
mov byte [ebp - 0x2f5], 1
mov byte [eax + edi*4 + 1], 0
mov eax, dword [ebp - 0x2fc]
mov byte [eax + edi*4 + 2], 0
mov eax, dword [ebp - 0x2fc]
mov byte [eax + edi*4 + 3], 0
mov eax, dword [ebp - 0x308]
inc edi
imul eax, dword [ebp - 0x304]
cmp edi, eax
jl 0x4331d0
mov esi, dword [ebp - 0x318]
mov ebx, dword [ebp - 0x2f4]
test esi, esi
je 0x43330f
mov eax, 0x5681f4
nop dword [eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x433306
test cx, cx
je 0x433302
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x433306
add esi, 4
add eax, 4
test cx, cx
jne 0x4332e0
xor eax, eax
jmp 0x43330b
sbb eax, eax
or eax, 1
test eax, eax
je 0x433318
push ebx
call fcn.0044deb0
add esp, 4
push 0xa0
call fcn.004ef1c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x318], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x433342
lea ecx, [esi + 0x18]
call fcn.00415ec0
jmp 0x433344
xor esi, esi
mov eax, dword [ebp - 0x314]
mov dword [esi], eax
mov ecx, dword [ebp - 0x2fc]
mov al, byte [ebp - 0x2f5]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x304]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x308]
mov byte [esi + 0x14], al
mov eax, esi
mov dword [esi + 0x10], ecx
mov byte [esi + 0x15], 0
mov dword [esi + 8], 0
jmp 0x432f77