Function at 0x4039b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4663de
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [ebp + 8], ecx
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
push 0xa
push 0x81
push ebx
mov dword [esp + 0xac], ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x403a86
mov eax, dword [esp + 0x18]
add eax, 0xa
push eax
call fcn.0044f136
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
add eax, 0xa
push eax
push ebx
push esi
call fcn.00452a60
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push edi
push esi
call fcn.00453d80
add esp, 0xc
push 0x258
call fcn.0044f07d
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0xa0], 1
je 0x403aac
mov edi, eax
call fcn.00417120
jmp 0x403aae
xor eax, eax
mov edx, dword [esp + 0x18]
mov byte [esp + 0xa0], bl
mov dword [ebp + 0x48], eax
mov eax, dword [0x47b790]
mov ecx, dword [eax + 8]
push edx
push esi
mov dword [0x47d2f4], ecx
call fcn.004178f0
add esp, 8
call fcn.004018d0
mov edi, eax
push edi
mov ecx, 0x469c4c
call fcn.004164a0
mov byte [edi + 0x140], al
call fcn.004035d0
push 0xffffffffffffffff
lea edi, [ebp + 0x10]
push ebx
mov eax, 0x47b71c
mov ecx, edi
call fcn.00401110
push 2
push 0x469c68
lea esi, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.00401070
mov byte [esp + 0xa0], 2
push 6
push 0x469c38
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00401070
lea eax, [esp + 0x40]
push eax
mov ecx, esi
push ecx
mov byte [esp + 0xa8], 3
call fcn.004018d0
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.00401950
push ebx
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [esp + 0xa8], 4
call fcn.00402630
mov edi, 8
cmp dword [esp + 0x74], edi
jb 0x403b99
mov edx, dword [esp + 0x60]
push edx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x38], edi
mov esi, 7
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
jb 0x403bbe
mov eax, dword [esp + 0x24]
push eax
call fcn.0044ec2b
add esp, 4
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x58], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x403be5
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0044ec2b
add esp, 4
push 0xd
push str.JYGInstallWnd
lea esi, [ebp + 0x2c]
call fcn.00401070
mov edx, dword [ebp + 8]
push 0x6d
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, ebp
mov dword [ebp + 0xe8], eax
call fcn.00404a40
test eax, eax
jne 0x403c2b
cmp dword [esp + 0x90], edi
jb 0x403c27
mov eax, dword [esp + 0x7c]
push eax
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x403c81
mov esi, ebp
call fcn.00404f80
test eax, eax
jne 0x403c50
cmp dword [esp + 0x90], edi
jb 0x403c27
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x403c81
push ebp
call fcn.00403cb0
test eax, eax
lea esi, [esp + 0x78]
jne 0x403c67
call fcn.00401010
xor eax, eax
jmp 0x403c81
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov dword [ebp + 4], 1
call fcn.00401010
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044eeec
add esp, 0x90
ret 8