Function at 0x4760e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x424
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [esp + 0x428]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x448]
xor esi, esi
cmp dword [esp + 0x444], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
je 0x476129
cmp edi, esi
mov dword [esp + 0x18], 1
jne 0x47612d
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
mov ebp, eax
mov edx, eax
cmp word [ebp], 0x5e
je 0x476166
lea ebx, [ebx]
cmp esi, dword [esp + 0x43c]
jge 0x476166
add ebp, 2
add esi, 1
cmp word [ebp], 0x5e
jne 0x476150
mov eax, ebp
sub eax, edx
sar eax, 1
je 0x4761ae
test ecx, ecx
je 0x4761ae
lea ecx, [eax + ebx]
cmp ecx, dword [esp + 0x444]
jle 0x47618f
mov eax, dword [esp + 0x444]
sub eax, ebx
mov dword [esp + 0x1c], 1
test eax, eax
jle 0x4761ae
mov ecx, eax
mov bx, word [edx]
mov word [edi], bx
add edi, 2
add edx, 2
sub ecx, 1
jne 0x476195
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x43c]
add ebx, eax
cmp esi, ecx
mov dword [esp + 0x10], ebx
jge 0x47628d
movzx eax, word [ebp + 2]
add esi, 2
lea edx, [esi + 1]
xor edi, edi
add ebp, 4
cmp edx, ecx
mov dword [esp + 0x20], esi
jge 0x4761fc
mov cx, word [0x6b367c]
cmp cx, word [ebp]
jne 0x4761fc
movzx edi, word [ebp + 2]
sub edi, 0x61
jns 0x4761f2
xor edi, edi
add ebp, 4
add esi, 2
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x24]
push 0
push 0
push edx
movzx ebx, ax
push edi
push ebx
call dword [esp + 0x3c]
add esp, 0x14
cmp dword [esp + 0x18], 0
mov esi, eax
je 0x47627d
mov eax, dword [esp + 0x444]
sub eax, dword [esp + 0x10]
cmp dword [esp + 0x440], 0
mov ecx, eax
jne 0x47623e
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x43c]
add ecx, edx
cmp esi, ecx
jle 0x47625a
cmp dword [esp + 0x440], 0
je 0x4762db
mov esi, eax
mov dword [esp + 0x1c], 1
test esi, esi
je 0x47627d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push eax
push esi
push ecx
push edi
push ebx
call dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
lea eax, [edx + esi*2]
add esp, 0x14
mov dword [esp + 0x14], eax
add dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp esi, dword [esp + 0x43c]
mov edx, ebp
jge 0x476347
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x476143
cmp dword [esp + 0x1c], 0
jne 0x476352
cmp ebx, dword [esp + 0x444]
jl 0x476143
mov eax, ebx
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ce60a
add esp, 0x424
ret
push 0x100
lea eax, [esp + 0x34]
push eax
push 0x1f
push 3
call fcn.0051a1e0
xor edx, edx
add esp, 0x10
cmp word [esp + 0x30], dx
lea eax, [esp + 0x30]
je 0x47630c
mov edi, edi
add eax, 2
add edx, 1
cmp word [eax], 0
jne 0x476300
mov ecx, dword [esp + 0x10]
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x444]
jg 0x476340
test edx, edx
jle 0x47633c
mov ebx, dword [esp + 0x14]
mov ecx, edx
shr ecx, 1
lea esi, [esp + 0x30]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
lea edx, [ebx + edx*2]
rep movsw word es:[edi], word [esi]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
xor esi, esi
jmp 0x47627d
cmp dword [esp + 0x1c], 0
je 0x4762c0
cmp dword [0x6928c0], 0
jne 0x47638e
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x476393
mov eax, dword [0x690b40]
movzx esi, word [eax + 0xc]
add esi, 0x1f
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0x100
lea ecx, [esp + 0x234]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
xor ecx, ecx
cmp word [esp + 0x230], cx
lea eax, [esp + 0x230]
je 0x4763dc
lea ecx, [ecx]
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x4763d0
mov eax, dword [esp + 0x444]
cmp eax, ecx
jl 0x4762c0
mov edx, dword [esp + 0x2c]
sub eax, ecx
test ecx, ecx
lea edi, [edx + eax*2]
mov eax, ebx
jle 0x4762c2
shr ecx, 1
lea esi, [esp + 0x230]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
jmp 0x4762c2