Function at 0x4338d0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x629356
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor eax, eax
push eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push 0x676964
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.00403c30
mov dword [esp + 0x88], 0
call fcn.004d6cbf
mov ebx, dword [eax + 0xc]
push 0x677684
push 0xa1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.004038b0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x44], 0x10
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x64]
call fcn.00499580
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004a23a0
mov byte [esp + 0x88], 2
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x14]
call fcn.004a2420
xor eax, eax
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
push 0x676964
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00403c30
mov byte [esp + 0x88], 3
push 0x11
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
push 0x67cb00
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00403c30
mov byte [esp + 0x88], 4
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.004a2760
mov byte [esp + 0x88], 3
cmp dword [esp + 0x2c], 8
jb 0x433aae
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
push 4
push 0x679a3c
push dword [esp + 0x60]
xor eax, eax
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
xor bl, bl
call fcn.004048b0
test eax, eax
jne 0x433b40
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x433b1a
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x88], 5
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x88], 3
push 0xb
push 0x6776ac
push dword [0x6d67ec]
mov ecx, 0x6d67dc
push 0
call fcn.004048b0
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov byte [esp + 0x88], 2
cmp dword [esp + 0x5c], 8
jb 0x433b5b
push dword [esp + 0x48]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x10]
call fcn.004a2410
mov byte [esp + 0x88], 0
cmp dword [esp + 0x44], 0x10
jb 0x433b9e
push dword [esp + 0x30]
call fcn.004c56c2
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x74], 8
jb 0x433bd1
push dword [esp + 0x60]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x60], ax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov al, bl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 4