Function at 0x436460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x47a300
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4921bc]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921bc]
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 0x4365fa
sub eax, 1
je 0x436531
sub eax, 1
jne 0x436508
call fcn.00401c70
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 0x436508
call fcn.00401c70
mov eax, dword [eax + 0x4c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x43650f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x4367c5
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 0x4366af
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 0x436550
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x28]
call fcn.00401890
mov edi, esi
lea esi, [esp + 0x58]
mov dword [esp + 0x9c], 3
call fcn.0041ff60
mov byte [esp + 0x9c], 5
cmp dword [esp + 0x38], 8
jb 0x43659c
mov eax, dword [esp + 0x24]
push eax
call fcn.0046207a
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 0x4365c0
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.0045d3f0
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x70], esi
jb 0x4365e5
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0046207a
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jmp 0x4366af
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 0x436612
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x44]
call fcn.00401890
mov edi, esi
lea esi, [esp + 0x74]
mov dword [esp + 0x9c], ebx
call fcn.0041ff60
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x54], 8
jb 0x43665a
mov edx, dword [esp + 0x40]
push edx
call fcn.0046207a
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 0x436681
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 0x4366af
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0046207a
add esp, 4
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x4366ca
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x43673f
mov esi, dword [esi + 0x28]
cmp esi, ebx
jne 0x4366b6
xor eax, eax
cmp eax, ebx
je 0x436508
cmp dword [esp + 0xa8], ebx
je 0x4367b8
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 0x4367b8
call fcn.00435a20
mov ebp, eax
cmp ebp, ebx
je 0x436508
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 0x43677c
lea edi, [ebp + 0x2c]
mov esi, 0x481c04
call fcn.0045dfe0
cmp eax, ebx
je 0x43674a
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x43674c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x4366cc
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436773
cmp dl, bl
je 0x43676f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436773
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x436753
xor eax, eax
jmp 0x436778
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4367b2
mov esi, dword [ebp + 0x28]
cmp esi, ebx
je 0x436797
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x4367a7
mov esi, dword [esi + 0x28]
cmp esi, ebx
jne 0x436783
xor eax, eax
cmp eax, ebx
mov ebp, eax
jne 0x436710
xor eax, eax
jmp 0x4367c5
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x436799
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
mov ecx, eax
call fcn.00435b60
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.00461f6b
add esp, 0x8c
ret 0x14