Function at 0x42e4a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4755b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x48d034]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48d034]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xac]
sub eax, 1
mov dword [esp + 0x18], ebp
mov esi, edx
mov dword [ebp + 0x48], ecx
je 0x42e63a
sub eax, 1
je 0x42e571
sub eax, 1
jne 0x42e548
call fcn.00401270
mov eax, dword [eax + 0x4c]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x42e548
call fcn.00401270
mov eax, dword [eax + 0x4c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x42e54f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x42e805
mov esi, dword [ebp]
push ebx
push ebx
push eax
add esi, 8
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi]
push eax
mov ecx, ebp
call edx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x42e6ef
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42e590
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x28]
call fcn.00403990
mov edi, esi
lea esi, [esp + 0x58]
mov dword [esp + 0x9c], 3
call fcn.00414090
mov byte [esp + 0x9c], 5
cmp dword [esp + 0x38], 8
jb 0x42e5dc
mov eax, dword [esp + 0x24]
push eax
call fcn.0045ca7a
add esp, 4
mov eax, dword [esp + 0x5c]
mov esi, 0x10
cmp dword [esp + 0x70], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jae 0x42e600
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.00410e60
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x70], esi
jb 0x42e625
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0045ca7a
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jmp 0x42e6ef
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42e652
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x44]
call fcn.00403990
mov edi, esi
lea esi, [esp + 0x74]
mov dword [esp + 0x9c], ebx
call fcn.00414090
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x54], 8
jb 0x42e69a
mov edx, dword [esp + 0x40]
push edx
call fcn.0045ca7a
add esp, 4
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jae 0x42e6c1
lea eax, [esp + 0x78]
mov edx, dword [ebp]
push ebx
push ebx
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x42e6ef
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0045ca7a
add esp, 4
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x42e70a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x42e77f
mov esi, dword [esi + 0x28]
cmp esi, ebx
jne 0x42e6f6
xor eax, eax
cmp eax, ebx
je 0x42e548
cmp dword [esp + 0xa8], ebx
je 0x42e7f8
mov esi, dword [eax + 0x20]
add esi, 8
mov edi, str.Root
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42e7f8
call fcn.0040fff0
mov ebp, eax
cmp ebp, ebx
je 0x42e548
lea ebx, [ebx]
mov esi, dword [ebp + 0x20]
add esi, 8
mov edi, str.Window
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x42e7bc
lea edi, [ebp + 0x2c]
mov esi, 0x47ce4c
call fcn.00411a50
cmp eax, ebx
je 0x42e78a
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x42e78c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x42e70c
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e7b3
cmp dl, bl
je 0x42e7af
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e7b3
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x42e793
xor eax, eax
jmp 0x42e7b8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x42e7f2
mov esi, dword [ebp + 0x28]
cmp esi, ebx
je 0x42e7d7
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x42e7e7
mov esi, dword [esi + 0x28]
cmp esi, ebx
jne 0x42e7c3
xor eax, eax
cmp eax, ebx
mov ebp, eax
jne 0x42e750
xor eax, eax
jmp 0x42e805
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x42e7d9
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
mov ecx, eax
call fcn.0042dbb0
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0045ca6b
add esp, 0x8c
ret 0x14