Function at 0x40b3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x443f20
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4564c4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xd0], 0
jne 0x40b8e2
lea esi, [edi + 0xb8]
mov ebx, 1
mov dword [edi + 0xd0], ebx
mov dword [esp + 0x30], esi
call fcn.0040f410
lea esi, [edi + 0xc4]
mov dword [esp + 0x34], esi
call fcn.0040f410
push 0x44c1f8
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [esp + 0x18]
call fcn.00403330
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00403490
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x28]
push eax
call fcn.0040b900
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.00403410
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40b8be
push str.CODE
push ecx
call fcn.0042e324
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40b8be
sub eax, ecx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40b8be
mov eax, dword [ecx - 0xc]
sub eax, ebp
sub eax, 5
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040f170
mov byte [esp + 0x44], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40b584
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40b576
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40b576
push eax
call fcn.00403490
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b56d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x40b584
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401760
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40b8b5
push 0x44b9ac
push ecx
call fcn.0042e324
add esp, 8
test eax, eax
je 0x40b8b1
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], ebx
je 0x40b8b5
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040f1f0
mov byte [esp + 0x44], 3
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
jge 0x40b605
or eax, 0xffffffff
jmp 0x40b61e
push 0x44c204
push ebp
call fcn.0042e324
add esp, 8
test eax, eax
jne 0x40b61c
or eax, 0xffffffff
jmp 0x40b61e
sub eax, ebp
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
call fcn.0040f1f0
mov byte [esp + 0x44], 4
cmp dword [ebp - 0xc], 0
jge 0x40b63d
or eax, 0xffffffff
jmp 0x40b656
push 0x44c204
push ebp
call fcn.0042e324
add esp, 8
test eax, eax
jne 0x40b654
or eax, 0xffffffff
jmp 0x40b656
sub eax, ebp
add eax, 2
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.0040f140
mov byte [esp + 0x44], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x40b6c8
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40b6b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40b6b6
push eax
call fcn.00403490
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b6a9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebp, [ebx + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jmp 0x40b6c8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401760
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x44], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b6ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0xc], 0
jge 0x40b6f8
or eax, 0xffffffff
jmp 0x40b711
push 0x44c204
push ebp
call fcn.0042e324
add esp, 8
test eax, eax
jne 0x40b70f
or eax, 0xffffffff
jmp 0x40b711
sub eax, ebp
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040f1f0
mov byte [esp + 0x44], 6
mov edx, dword [esp + 0x24]
push 0x44b9af
push edx
call fcn.0042f58c
add esp, 8
test eax, eax
setne al
test al, al
je 0x40b779
mov eax, dword [esp + 0x20]
push 0x44b9af
push eax
call fcn.0042f58c
add esp, 8
test eax, eax
setne al
test al, al
je 0x40b779
mov esi, dword [esp + 0x30]
lea ebx, [esp + 0x24]
call fcn.0040f3a0
mov esi, dword [esp + 0x34]
lea ebx, [esp + 0x20]
call fcn.0040f3a0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, ebx
sub eax, 2
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040f170
mov byte [esp + 0x44], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40b7f0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40b7e2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40b7e2
push eax
call fcn.00403490
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b7d9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x40b7f0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401760
mov byte [esp + 0x44], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jge 0x40b827
mov dword [esp + 0x1c], esi
jmp 0x40b847
push str.CODE
push eax
call fcn.0042e324
add esp, 8
test eax, eax
jne 0x40b83f
mov dword [esp + 0x1c], esi
jmp 0x40b847
sub eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x44], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b86b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b88f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40b8ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp ebp, 0xffffffff
jne 0x40b511
lea eax, [ecx - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b8e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret