Function at 0x41bb70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552795
mov eax, dword fs:[0]
push eax
sub esp, 0x98c
mov eax, dword [0x5a9f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x990], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - method.CStringUtil.virtual_0], vtable.CStringUtil.0
lea ecx, [ebp + 0x28]
push ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.0041e780
mov byte [ebp - 4], 4
call fcn.004322ce
cmp dword [ebp - 0xa4], 8
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0xb8]
jae 0x41bbf7
lea eax, [ebp - 0xb8]
movzx edx, word [ebp + 0x44]
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x41bd8c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x98c], eax
cmp eax, ebx
je 0x41bd8c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x41bd8c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x98c]
push ecx
lea edx, [ebp + 0xc]
push edx
lea edi, [ebp - 0x48]
mov ecx, eax
call fcn.00408420
add esp, 8
test eax, eax
jne 0x41be4d
push 0xd
push 0x5833ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00404400
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00409440
push eax
mov eax, 0x583398
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.004093f0
add esp, 4
mov ecx, eax
mov eax, edi
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
call fcn.00409440
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.00403b10
mov esi, 0x10
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x88], esi
jb 0x41bcdf
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00425301
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov byte [ebp - 4], 9
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x6c], esi
jb 0x41bd0d
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x50], esi
jb 0x41bd2b
mov edx, dword [ebp - 0x64]
push edx
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x18], esi
jb 0x41bd49
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00425301
add esp, 4
mov eax, dword [ebp - 0x990]
cmp dword [eax + 0x168], 0
je 0x41be57
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x98c], esp
push str.logupdate.log
add eax, 0x16c
push eax
push ecx
call fcn.00409720
lea edx, [ebp - 0x48]
add esp, 0xc
push edx
call fcn.004052a0
add esp, 0x20
jmp 0x41bf53
push 0xd
push 0x583388
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00404400
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.00409440
push eax
mov bl, 6
mov eax, 0x583380
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.004093f0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.00403b10
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], edi
jb 0x41bdfa
mov eax, dword [ebp - 0x80]
push eax
call fcn.00425301
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x88], edi
jb 0x41be25
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x18], edi
jb 0x41bd49
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x41bd41
mov edi, 1
jmp 0x41bf57
lea eax, [ebp - 0x988]
push eax
call fcn.0040de90
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.0041e780
mov edi, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], edi
jb 0x41be83
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98c]
call fcn.00410330
mov bl, 0xe
push 0x582be4
lea ecx, [ebp - 0x990]
mov byte [ebp - 4], bl
call fcn.00410330
lea edx, [ebp - 0x98c]
xor ecx, ecx
push edx
lea eax, [ecx + 3]
lea edx, [ebp - 0x990]
lea esi, [ebp - 0x988]
mov byte [ebp - 4], 0xf
call fcn.0040e1d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x990]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41beea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x98c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bf10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x50], edi
jb 0x41bf25
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00425301
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x988]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
call fcn.00433864
lea ecx, [ebp - 0x988]
mov byte [ebp - 4], 4
call fcn.0040e050
xor ebx, ebx
mov edi, ebx
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa4], 8
jb 0x41bf73
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00425301
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
jb 0x41bfa2
mov edx, dword [ebp - 0x48]
push edx
call fcn.00425301
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x41bfc5
mov eax, dword [ebp + 0xc]
push eax
call fcn.00425301
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x41bfe7
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.00425301
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523d1e
mov esp, ebp
pop ebp
ret 0x40