Function at 0x40d090
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cab5
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x4d0018]
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 ebx, ecx
mov dword [ebp - 0x568], ebx
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x40dd77
cmp dword [ebx + 0x44], 0
je 0x40dd77
call fcn.0041c634
mov edx, dword [ebx + 0x40]
mov esi, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x40d104
nop
cmp dword [ecx + 0x10], eax
jge 0x40d0fa
mov ecx, dword [ecx + 8]
jmp 0x40d0fe
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x40d0f0
cmp byte [esi + 0xd], 0
jne 0x40d113
cmp eax, dword [esi + 0x10]
jl 0x40d113
cmp esi, edx
jne 0x40d115
mov esi, dword [edx]
push 0x4ac4d4
push 0x6c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [ebp - 0x578], ebx
test ebx, ebx
je 0x40dd77
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40dd6b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 3
mov edx, eax
mov ecx, edi
call fcn.00411f89
mov ecx, dword [esi + 0x14]
mov edi, eax
add esp, 8
mov dword [ebp - 0x558], edi
test edi, edi
jne 0x40d186
mov esi, dword [ebp - 0x570]
mov eax, 0x10000
jmp 0x40d378
cmp dword [edi], 1
je 0x40d19b
mov esi, dword [ebp - 0x570]
mov eax, 0x80000
jmp 0x40d378
mov esi, dword [edi + 4]
lea eax, [ebp - 0x220]
push 0
push 0
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x55c], esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [esi]
test esi, esi
je 0x40d354
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d1d7
sub ecx, edx
cmp ecx, 0x100
jae 0x40d354
cmp dword [esi + 0x18], 0
je 0x40d354
mov edi, dword [esi + 0x14]
lea edx, [esi + 0x28]
mov eax, dword [esi + 0x24]
sub esp, 0x10
mov ebx, dword [esi + 0x10]
mov ecx, esi
mov dword [esi + 0x14], eax
lea eax, [esi + 0x78]
mov dword [ebp - 0x560], ebx
push 0
push 0
push eax
mov dword [ebp - 0x554], edi
mov dword [esi + 0x10], 0
call fcn.00410a42
xor ecx, ecx
add esp, 0x1c
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
test eax, eax
jne 0x40d34e
nop
sub esp, 0x10
lea eax, [ebp - 0x118]
xor edx, edx
mov ecx, esi
push 0x100
push eax
push 0
call fcn.00410a42
add esp, 0x1c
xor edi, edi
nop
mov dl, byte [ebp + edi - 0x118]
lea edi, [edi + 1]
mov bl, byte [ebp + edi - 0x221]
mov al, dl
sub al, 0x20
movzx eax, al
mov dword [ebp - 0x564], eax
lea ecx, [edx - 0x61]
cmp cl, 0x19
movzx eax, dl
mov ecx, dword [ebp - 0x564]
cmova ecx, eax
mov al, bl
sub al, 0x61
cmp al, 0x19
ja 0x40d29b
add bl, 0xe0
test cl, cl
je 0x40d2ab
test bl, bl
je 0x40d2af
cmp cl, bl
jl 0x40d2af
jle 0x40d260
jmp 0x40d2af
test bl, bl
je 0x40d31e
cmp dword [esi + 0x18], 0
jne 0x40d2bc
mov eax, 0xffffff9c
jmp 0x40d302
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
jne 0x40d2cc
mov eax, 0xffffff9c
jmp 0x40d302
mov ecx, dword [esi + 0x50]
sub esp, 0x10
mov eax, dword [esi + 0x48]
add ecx, 0x2e
add ecx, dword [esi + 0x4c]
add eax, ecx
mov dword [esi + 0x10], edx
add dword [esi + 0x14], eax
lea edx, [esi + 0x28]
push 0
lea eax, [esi + 0x78]
mov ecx, esi
push 0
push eax
call fcn.00410a42
xor ecx, ecx
add esp, 0x1c
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
test eax, eax
je 0x40d240
mov eax, dword [ebp - 0x560]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x554]
mov dword [esi + 0x14], eax
jmp 0x40d354
mov ebx, dword [ebp - 0x55c]
cmp dword [ebx + 4], 0xffffffff
je 0x40d331
mov ecx, dword [ebx]
call fcn.004112bf
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebx + 4], 0xffffffff
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x550]
push eax
push esi
call fcn.004114f4
jmp 0x40d372
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
push 0x230
lea eax, [ebp - 0x550]
or esi, 0xffffffff
push 0
push eax
call fcn.00481670
add esp, 0xc
mov eax, 0x500
mov edi, dword [ebp - 0x558]
mov dword [0x4d378c], eax
cmp esi, 0xffffffff
je 0x40dd6b
mov ebx, dword [ebp - 0x324]
push ebx
call fcn.0047f4b0
add esp, 4
mov dword [ebp - 0x564], eax
test edi, edi
jne 0x40d3a6
mov eax, 0x10000
jmp 0x40d3bf
cmp dword [edi], 1
je 0x40d3b2
mov eax, 0x80000
jmp 0x40d3bf
mov ecx, dword [edi + 4]
push 3
push ebx
push eax
push esi
call fcn.00411bd1
mov dword [0x4d378c], eax
cmp ebx, 1
jae 0x40d3d6
xor edi, edi
mov dword [ebp - 0x55c], edi
jmp 0x40d530
xor eax, eax
nop dword [eax + eax]
mov byte [ebp + eax - 0x320], al
inc eax
cmp eax, 0x100
jb 0x40d3e0
xor ecx, ecx
xor edx, edx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x4acd44]
mov byte [ebp + edx - 0x118], al
lea eax, [ecx + 1]
xor ecx, ecx
inc edx
cmp eax, 2
cmovl ecx, eax
cmp edx, 0x100
jb 0x40d400
xor edi, edi
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x320]
movzx eax, byte [ebp + esi - 0x118]
add eax, edi
movzx ecx, dl
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x320]
mov byte [ebp + esi - 0x320], al
inc esi
mov byte [ebp + edi - 0x320], dl
cmp esi, 0x100
jb 0x40d430
lea esi, [ebx + 1]
mov dword [ebp - 0x558], 0
push esi
mov dword [ebp - 0x554], 0
call fcn.0047f4b0
add esp, 4
mov edi, eax
mov dword [ebp - 0x55c], edi
push esi
push 0
push edi
call fcn.00481670
add esp, 0xc
test ebx, ebx
je 0x40d530
mov esi, edi
mov edi, dword [ebp - 0x564]
sub edi, esi
mov dword [ebp - 0x560], edi
mov eax, dword [ebp - 0x558]
lea esi, [esi + 1]
inc eax
movzx eax, al
mov dword [ebp - 0x558], eax
mov edi, dword [ebp - 0x558]
mov cl, byte [ebp + eax - 0x320]
mov eax, dword [ebp - 0x554]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 0x554], eax
mov al, byte [ebp + eax - 0x320]
mov byte [ebp + edi - 0x320], al
mov eax, dword [ebp - 0x554]
mov byte [ebp + eax - 0x320], cl
mov eax, edi
mov edi, dword [ebp - 0x560]
movzx eax, byte [ebp + eax - 0x320]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x320]
xor al, byte [edi + esi - 1]
mov byte [esi - 1], al
sub ebx, 1
jne 0x40d4b3
mov edi, dword [ebp - 0x55c]
mov ecx, edi
call fcn.00406de0
mov ebx, eax
mov dword [ebp - 0x574], ebx
call fcn.00408d30
mov dword [ebp - 0x560], eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2a4], ax
push 0xc8
mov dword [ebp - 4], eax
call fcn.0047eed2
mov esi, eax
add esp, 4
lea edx, [esi + 8]
mov dword [ebp - 0x554], esi
lea eax, [edx + 0x14]
mov dword [esi + 4], 0
mov dword [edx], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x1401
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], 0x7fec
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], 0x7fec
mov dword [esi], eax
mov dword [eax + 0x14], eax
mov ecx, dword [esi]
lea eax, [ecx + 0x20]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edx], ecx
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
cmp word [ebx], 0x3c
push ebx
jne 0x40d6b7
call fcn.00424141
test al, al
jne 0x40d737
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x2ac]
test edi, edi
je 0x40d80c
mov eax, dword [edi + 4]
test eax, eax
je 0x40d661
push eax
call fcn.00485257
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
test esi, esi
je 0x40d688
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x40d67f
push eax
call fcn.00485257
add esp, 4
mov esi, dword [esi + 4]
test esi, esi
jne 0x40d670
mov ecx, dword [edi]
mov eax, dword [ecx]
shr eax, 8
sub ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x40d7f8
nop word [eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.00485257
add esp, 4
mov eax, esi
test esi, esi
jne 0x40d6a0
jmp 0x40d7f8
call fcn.0042424a
test al, al
jne 0x40d737
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x2ac]
test edi, edi
je 0x40d80c
mov eax, dword [edi + 4]
test eax, eax
je 0x40d6ec
push eax
call fcn.00485257
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
test esi, esi
je 0x40d70d
mov eax, dword [esi]
test eax, eax
je 0x40d704
push eax
call fcn.00485257
add esp, 4
mov esi, dword [esi + 4]
test esi, esi
jne 0x40d6f5
mov ecx, dword [edi]
mov eax, dword [ecx]
shr eax, 8
sub ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x40d7f8
nop
mov esi, dword [eax + 8]
push eax
call fcn.00485257
add esp, 4
mov eax, esi
test esi, esi
jne 0x40d720
jmp 0x40d7f8
mov esi, dword [ebp - 0x2b0]
test esi, esi
je 0x40d78e
mov esi, dword [esi + 0x10]
test esi, esi
je 0x40d78e
mov eax, dword [esi + 4]
test eax, eax
je 0x40d787
mov ecx, str.Language
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40d77a
test dx, dx
je 0x40d776
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40d77a
add ecx, 4
add eax, 4
test dx, dx
jne 0x40d754
xor eax, eax
jmp 0x40d77f
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d8f2
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x40d748
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x2ac]
test edi, edi
je 0x40d80c
mov eax, dword [edi + 4]
test eax, eax
je 0x40d7b6
push eax
call fcn.00485257
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
test esi, esi
je 0x40d7d8
nop
mov eax, dword [esi]
test eax, eax
je 0x40d7cf
push eax
call fcn.00485257
add esp, 4
mov esi, dword [esi + 4]
test esi, esi
jne 0x40d7c0
mov ecx, dword [edi]
mov eax, dword [ecx]
shr eax, 8
sub ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x40d7f8
mov esi, dword [eax + 8]
push eax
call fcn.00485257
add esp, 4
mov eax, esi
test esi, esi
jne 0x40d7e6
push 0xc8
push edi
mov dword [edi], 0
call fcn.0047ef02
add esp, 8
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a4]
cmp eax, ecx
je 0x40d825
push eax
call fcn.00485257
add esp, 4
call fcn.00408d30
mov edi, eax
push 1
push 0x4accc4
mov ecx, edi
call fcn.00425a72
mov esi, eax
test esi, esi
jne 0x40d89b
cmp dword [edi + 0x10], eax
je 0x40dba7
push 0x84
call fcn.0047eed2
mov esi, eax
add esp, 4
mov dword [ebp - 0x56c], esi
mov dword [ebp - 4], 2
mov ecx, dword [edi + 0x10]
push 0
push 0x4accc4
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esi + 4]
xor edx, edx
mov dword [esi], ecx
push 0xffffffffffffffff
mov word [ecx], dx
mov ecx, esi
push eax
call fcn.00425362
push esi
push 0x4accc4
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00425b27
mov eax, dword [esi]
mov dword [ebp - 0x554], eax
mov ebx, dword [ebp - 0x568]
mov esi, dword [ebx + 0x38]
cmp dword [esi + 0xa38], 0
jbe 0x40dc78
mov esi, dword [esi + 0xa34]
xor edx, edx
mov eax, dword [esi]
cmp eax, esi
je 0x40dc78
nop dword [eax + eax]
mov edi, dword [eax + 8]
cmp byte [edi + 0x88], 0
jne 0x40d8e5
test edx, edx
je 0x40dbb7
inc edx
mov ecx, dword [eax]
mov eax, ecx
cmp ecx, esi
jne 0x40d8d0
jmp 0x40dc78
test esi, esi
je 0x40d78e
mov esi, dword [esi + 0x10]
test esi, esi
je 0x40db2c
mov eax, dword [esi + 4]
mov ecx, 0x4ac4d0
test eax, eax
push str.Text
cmovne ecx, eax
push ecx
call fcn.00489fb2
add esp, 8
test eax, eax
jne 0x40db1b
test esi, esi
jne 0x40d933
xor edi, edi
jmp 0x40d9e9
mov edi, dword [esi + 0x1c]
mov ebx, edi
test ebx, ebx
je 0x40d986
nop dword [eax]
mov eax, dword [ebx + 4]
test eax, eax
je 0x40d97f
mov ecx, 0x4ad760
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40d976
test dx, dx
je 0x40d972
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40d976
add ecx, 4
add eax, 4
test dx, dx
jne 0x40d950
xor eax, eax
jmp 0x40d97b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d988
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x40d940
xor ebx, ebx
test edi, edi
je 0x40d9d6
nop dword [eax]
mov eax, dword [edi + 4]
test eax, eax
je 0x40d9cf
mov ecx, str.value
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40d9c6
test dx, dx
je 0x40d9c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40d9c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x40d9a0
xor eax, eax
jmp 0x40d9cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d9d8
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x40d990
xor edi, edi
test ebx, ebx
je 0x40d9e9
mov eax, dword [ebx + 8]
mov dword [ebp - 0x558], eax
test eax, eax
jne 0x40d9f4
mov eax, 0x4ac4d0
mov dword [ebp - 0x558], eax
test edi, edi
je 0x40da05
mov edi, dword [edi + 8]
mov dword [ebp - 0x554], edi
test edi, edi
jne 0x40da10
mov edi, 0x4ac4d0
mov dword [ebp - 0x554], edi
test eax, eax
je 0x40db1b
test edi, edi
je 0x40db1b
mov ecx, dword [ebp - 0x560]
push 1
push eax
call fcn.00425a72
mov ebx, eax
test ebx, ebx
je 0x40dadb
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x40da40
mov edx, dword [ebx]
sub edi, ecx
sar edi, 1
cmp edi, 0x3f
jge 0x40da6d
lea eax, [ebx + 4]
cmp edx, eax
je 0x40dac1
push edx
call fcn.00485257
lea edx, [ebx + 4]
add esp, 4
mov dword [ebx], edx
jmp 0x40dac1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x558], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40da80
sub ecx, dword [ebp - 0x558]
lea eax, [ebx + 4]
sar ecx, 1
cmp edi, ecx
jg 0x40daa0
cmp edx, eax
jne 0x40dac1
jmp 0x40daa4
cmp edx, eax
jne 0x40daac
mov dword [ebx], 0
xor edx, edx
lea eax, [edi*2 + 2]
push eax
push edx
call fcn.0048c924
add esp, 8
mov dword [ebx], eax
mov edx, eax
push edi
push dword [ebp - 0x554]
push edx
call fcn.0048b8ad
mov eax, dword [ebx]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi*2], cx
jmp 0x40db1b
push 0x84
call fcn.0047eed2
mov edi, eax
add esp, 4
lea ecx, [edi + 4]
mov dword [ebp - 0x56c], edi
xor eax, eax
mov dword [edi], ecx
push 0xffffffffffffffff
push dword [ebp - 0x554]
mov word [ecx], ax
mov ecx, edi
call fcn.00425362
mov ecx, dword [ebp - 0x560]
push edi
push dword [ebp - 0x558]
call fcn.00425b27
test esi, esi
je 0x40db2c
mov eax, dword [esi + 0x18]
mov esi, eax
test eax, eax
jne 0x40d905
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x2ac]
test edi, edi
je 0x40d80c
mov eax, dword [edi + 4]
test eax, eax
je 0x40db58
push eax
call fcn.00485257
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
test esi, esi
je 0x40db79
mov eax, dword [esi]
test eax, eax
je 0x40db70
push eax
call fcn.00485257
add esp, 4
mov esi, dword [esi + 4]
test esi, esi
jne 0x40db61
mov ecx, dword [edi]
mov eax, dword [ecx]
shr eax, 8
sub ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x40d7f8
nop dword [eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.00485257
add esp, 4
mov eax, esi
test esi, esi
jne 0x40db90
jmp 0x40d7f8
mov ecx, 0x4accc4
mov dword [ebp - 0x554], ecx
jmp 0x40d8a3
mov ecx, dword [ebp - 0x554]
test ecx, ecx
je 0x40dc5f
mov esi, ecx
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40dbd0
mov edx, dword [edi]
sub esi, ecx
sar esi, 1
cmp esi, 0x3f
jge 0x40dbfc
lea ebx, [edi + 4]
cmp edx, ebx
je 0x40dc3e
push edx
call fcn.00485257
add esp, 4
mov dword [edi], ebx
mov edx, ebx
jmp 0x40dc3e
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dc01
sub ecx, ebx
lea eax, [edi + 4]
sar ecx, 1
cmp esi, ecx
jg 0x40dc1d
cmp edx, eax
jne 0x40dc3e
jmp 0x40dc21
cmp edx, eax
jne 0x40dc29
mov dword [edi], 0
xor edx, edx
lea eax, [esi*2 + 2]
push eax
push edx
call fcn.0048c924
add esp, 8
mov dword [edi], eax
mov edx, eax
mov eax, dword [ebp - 0x554]
push esi
push eax
push edx
call fcn.0048b8ad
mov eax, dword [edi]
add esp, 0xc
mov ebx, dword [ebp - 0x568]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x40dc78
mov eax, dword [edi]
lea esi, [edi + 4]
cmp eax, esi
je 0x40dc71
push eax
call fcn.00485257
add esp, 4
xor eax, eax
mov dword [edi], esi
mov word [esi], ax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x6ec], 0
jne 0x40dd09
call fcn.00408d30
mov edi, eax
push 1
push 0x4accc4
mov ecx, edi
call fcn.00425a72
mov esi, eax
test esi, esi
jne 0x40dcfe
cmp dword [edi + 0x10], eax
je 0x40dd93
push 0x84
call fcn.0047eed2
mov esi, eax
add esp, 4
mov dword [ebp - 0x56c], esi
mov dword [ebp - 4], 3
mov ecx, dword [edi + 0x10]
push 0
push 0x4accc4
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esi + 4]
xor edx, edx
mov dword [esi], ecx
push 0xffffffffffffffff
mov word [ecx], dx
mov ecx, esi
push eax
call fcn.00425362
push esi
push 0x4accc4
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00425b27
mov edx, dword [esi]
mov ecx, dword [ebx + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [ebx + 0x34]
mov esi, dword [eax + 0x104]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x170]
call eax
test al, al
je 0x40dd41
mov ecx, esi
mov byte [esi + 0x1ac], 1
call fcn.0041dfde
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x40dd41
mov byte [eax + 0x16d], 1
push dword [ebp - 0x55c]
call fcn.0047ecd0
add esp, 4
push dword [ebp - 0x574]
call fcn.0047ecd0
add esp, 4
push dword [ebp - 0x564]
call fcn.0047ecd0
add esp, 4
push dword [ebp - 0x578]
call dword [sym.imp.KERNEL32.dll_FreeResource]
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.0047ecc2
mov esp, ebp
pop ebp
ret
mov edx, 0x4accc4
jmp 0x40dd00