Function at 0x403be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2194
call fcn.00457150
mov eax, dword [0x4a4300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x4a8b50]
mov ebx, ecx
mov dword [ebp - 0x2190], ebx
push edi
test esi, esi
je 0x403c2a
push 0x64
push 0
push ebx
call fcn.004523e0
push esi
push 0x4a8ae8
push ebx
call fcn.00451d90
add esp, 0x18
jmp 0x403e3f
mov edi, dword [0x6b0690]
mov dword [ebp - 0x2188], edi
test edi, edi
je 0x403c78
push 2
push 0x8b
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x403c78
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x218c], ebx
test ebx, ebx
je 0x403c78
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x403c8b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004516e1
mov esp, ebp
pop ebp
ret
cmp eax, edi
jb 0x403c71
lea eax, [ebx + 0x28]
xor ebx, ebx
mov dword [ebp - 0x2184], eax
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x126]
push eax
call fcn.004523e0
push 0x1fff
lea eax, [ebp - 0x2127]
mov byte [ebp - 0x2128], bl
push ebx
push eax
call fcn.004523e0
push 0x54
lea eax, [ebp - 0x217c]
mov dword [ebp - 0x2180], ebx
push ebx
push eax
call fcn.004523e0
xor eax, eax
mov byte [ebp - 0x14], bl
push 0x42
push eax
mov word [ebp - 0x60], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x5e]
movq qword [ebp - 0x13], xmm0
push eax
mov dword [ebp - 0xb], ebx
mov word [ebp - 7], bx
mov byte [ebp - 5], bl
call fcn.004523e0
add esp, 0x30
lea ecx, [ebp - 0x2180]
call fcn.00407d10
mov eax, 0x2000
lea esp, [esp]
cmp edi, 0x2000
mov esi, edi
cmova esi, eax
xor eax, eax
test esi, esi
je 0x403d55
mov ecx, dword [ebp - 0x2184]
mov edx, dword [ebp - 0x2188]
sub ecx, ebx
dec edx
add edx, ecx
add ebx, esi
mov cl, byte [edx]
lea edx, [edx - 1]
mov byte [ebp + eax - 0x2128], cl
inc eax
cmp eax, esi
jb 0x403d44
push esi
lea edx, [ebp - 0x2128]
lea ecx, [ebp - 0x2180]
call fcn.00407d40
add esp, 4
mov eax, 0x2000
sub edi, esi
jne 0x403d20
lea edx, [ebp - 0x2180]
lea ecx, [ebp - 0x14]
call fcn.00407e10
xor esi, esi
lea edi, [ebp - 0x5e]
mov bl, byte [ebp + esi - 0x14]
movzx eax, bl
push eax
push str._02x
lea eax, [edi - 2]
push 2
push eax
call fcn.00401420
shl bl, 4
movzx eax, bl
push eax
push str._02x
push 2
push edi
call fcn.00401420
inc esi
add esp, 0x20
add edi, 4
cmp esi, 0x10
jl 0x403d86
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x128]
push 0x21
push eax
call fcn.0045474c
push 0x64
push 0
push 0x4a8ae8
call fcn.004523e0
lea eax, [ebp - 0x128]
push eax
push 0x48276c
push 0x4a8ae8
call fcn.0045752f
mov esi, 0x4a8ae8
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x403e05
mov edi, dword [ebp - 0x2190]
sub esi, ecx
push 0x64
push 0
push edi
mov dword [0x4a8b50], esi
call fcn.004523e0
push esi
push 0x4a8ae8
push edi
call fcn.00451d90
add esp, 0x18
push dword [ebp - 0x218c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004516e1
mov esp, ebp
pop ebp
ret