Function at 0x471570
Capabilities:
Check if file exists
Enumerate files on windows
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0d11
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x53d100]
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 ebx, edx
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2c8], ebx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x264], esi
call fcn.004bc4b7
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4715da
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2a0], eax
mov ecx, 0x50007c
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x47161b
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c463d
cmp eax, esi
je 0x471639
push edi
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00424e82
jmp 0x471639
push 0x50007c
call fcn.004cb5ea
add esp, 4
push eax
push 0x50007c
lea ecx, [ebp - 0x2a0]
call fcn.004253ae
lea eax, [ebp - 0x2e0]
push eax
mov byte [ebp - 4], 2
call fcn.00473a60
push 3
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
push esi
push ecx
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x270], edi
cmp edi, esi
jne 0x4716cb
lea edx, [ebp - 0x2e0]
push edx
mov byte [ebp - 4], 2
call fcn.00473ac0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47169e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4716c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x47300d
lea ecx, [ebp - 0x2f8]
push ecx
call fcn.00473a60
lea edx, [ebp - 0x2f8]
push edx
push 0x47d890
push 0x18
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov edi, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x2e8]
cmp edi, eax
jbe 0x47170b
call fcn.004cb761
mov eax, dword [ebp - 0x2e8]
mov ebx, dword [ebp - 0x2f8]
mov dword [ebp - 0x298], ebx
mov esi, edi
lea esp, [esp]
mov edi, eax
cmp dword [ebp - 0x2ec], eax
jbe 0x47172f
call fcn.004cb761
test ebx, ebx
je 0x47173b
cmp ebx, dword [ebp - 0x2f8]
je 0x471740
call fcn.004cb761
cmp esi, edi
je 0x4718ce
test ebx, ebx
jne 0x4718b4
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471761
call fcn.004cb761
test ebx, ebx
jne 0x4718bb
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47177a
call fcn.004cb761
mov eax, dword [esi]
mov edi, dword [ebp - 0x270]
push 0x18
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x471848
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x471848
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x270]
push ebx
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test edi, edi
je 0x471848
push eax
lea edx, [ebp - 0x268]
push edx
mov ecx, edi
call fcn.00478700
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x2a4], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x268]
push eax
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x2a8], esp
mov ebx, esp
push edi
call fcn.0042541f
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 5
call fcn.00470a00
mov byte [ebp - 4], 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471848
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov edi, dword [ebp - 0x298]
test edi, edi
jne 0x4718c2
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471863
call fcn.004cb761
test dword [esi], 0xffff0000
je 0x47188b
test edi, edi
jne 0x4718c6
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471880
call fcn.004cb761
mov eax, dword [esi]
push eax
call fcn.004cb867
add esp, 4
test edi, edi
jne 0x4718ca
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4718a0
call fcn.004cb761
mov eax, dword [ebp - 0x2e8]
mov ebx, dword [ebp - 0x298]
add esi, 4
jmp 0x471720
mov eax, dword [ebx]
jmp 0x471757
mov eax, dword [ebx]
jmp 0x471770
mov eax, dword [edi]
jmp 0x471859
mov eax, dword [edi]
jmp 0x471876
mov eax, dword [edi]
jmp 0x471896
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x5095b0
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00424a39
mov ecx, dword [ebp - 0x270]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x270]
setne dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edi, edx
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47192e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x471a1a
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
push 0x5095b0
lea edx, [ebp + 0xc]
push edx
push ecx
mov dword [ebp - 0x270], 0
lea ebx, [ebp - 0x270]
lea edi, [ebp - 0x268]
call fcn.00424a39
add esp, 0xc
call fcn.004789a0
add esp, 8
cmp eax, 0xffffffff
je 0x471a1a
mov eax, dword [ebp - 0x270]
mov esi, dword [ebp - 0x268]
test eax, eax
jbe 0x471a11
push eax
lea eax, [ebp - 0x268]
push eax
mov ecx, esi
call fcn.00478700
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0xc]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x2a4], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x268]
push ecx
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x2a8], esp
mov ebx, esp
push edi
call fcn.0042541f
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 7
call fcn.00470a00
mov byte [ebp - 4], 4
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x471a11
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
push esi
call fcn.004cb867
add esp, 4
mov esi, dword [ebp - 0x2ac]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x268], eax
cmp dword [esi + 0xc], eax
jbe 0x471a33
call fcn.004cb761
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x471a42
call fcn.004cb761
mov ecx, dword [ebp - 0x268]
mov eax, dword [esi]
push ecx
push ebx
push edi
push eax
lea edx, [ebp - 0x298]
push edx
call fcn.00463b50
mov esi, dword [ebp - 0x2d4]
mov ebx, dword [ebp - 0x2d0]
cmp esi, ebx
jbe 0x471a75
call fcn.004cb761
mov ebx, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2e0]
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x284], esi
cmp dword [ebp - 0x2d4], ebx
jbe 0x471a94
call fcn.004cb761
xor esi, esi
cmp edi, esi
je 0x471aa2
cmp edi, dword [ebp - 0x2e0]
je 0x471aa7
call fcn.004cb761
cmp dword [ebp - 0x284], ebx
je 0x472e07
mov dword [ebp - 0x26c], esi
lea esp, [esp]
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x471b0b
call fcn.004cb761
xor eax, eax
mov esi, dword [ebp - 0x284]
cmp esi, dword [eax + 0x10]
jb 0x471ae1
call fcn.004cb761
mov edi, dword [esi + 8]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub edi, 0x10
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x471b0f
cmp eax, dword [edi]
jne 0x471b0f
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x471b4a
mov eax, dword [eax]
jmp 0x471ad1
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x472dee
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004cb072
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x29c], ebx
mov byte [ebp - 4], 9
mov edi, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x471b7d
push edi
lea ecx, [ebp - 0x29c]
call fcn.004224f5
mov ebx, dword [ebp - 0x29c]
lea ecx, [edi + 1]
push ecx
push ebx
call fcn.004ce7f4
add esp, 8
test edi, edi
jl 0x472dfd
cmp edi, dword [ebx - 8]
jg 0x472dfd
mov dword [ebx - 0xc], edi
xor edx, edx
mov word [ebx + edi*2], dx
mov edi, dword [ebp - 0x28c]
lea eax, [ebp - 0x29c]
push eax
add edi, 0xcc
call fcn.004738f0
lea ecx, [ebp - 0x310]
push ecx
mov ecx, eax
call fcn.00463670
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x300]
cmp ebx, eax
jbe 0x471be9
call fcn.004cb761
mov eax, dword [ebp - 0x300]
mov edi, dword [ebp - 0x310]
mov esi, ebx
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], esi
lea ecx, [ecx]
mov ebx, eax
cmp dword [ebp - 0x304], eax
jbe 0x471c0f
call fcn.004cb761
test edi, edi
je 0x471c1b
cmp edi, dword [ebp - 0x310]
je 0x471c20
call fcn.004cb761
cmp esi, ebx
je 0x471cbc
test edi, edi
jne 0x471cb0
call fcn.004cb761
cmp esi, dword [edi + 0x10]
jb 0x471c3f
call fcn.004cb761
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x471cb4
call fcn.004cb761
xor eax, eax
mov edx, dword [ebp - 0x284]
cmp edx, dword [eax + 0x10]
jb 0x471c60
call fcn.004cb761
mov esi, dword [ebp - 0x278]
mov edi, dword [esi]
mov ebx, dword [ebp - 0x284]
call fcn.00473390
test eax, eax
jne 0x4721e4
mov eax, dword [ebp - 0x27c]
test eax, eax
jne 0x471cb8
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471c96
call fcn.004cb761
mov eax, dword [ebp - 0x300]
mov edi, dword [ebp - 0x27c]
add esi, 4
mov dword [ebp - 0x278], esi
jmp 0x471c00
mov edi, dword [edi]
jmp 0x471c35
mov eax, dword [eax]
jmp 0x471c50
mov eax, dword [eax]
jmp 0x471c8c
cmp dword [ebp - 0x26c], 0
jne 0x472d20
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x471e0f
call fcn.004cb761
xor eax, eax
mov ecx, dword [ebp - 0x284]
cmp ecx, dword [eax + 0x10]
jb 0x471cee
call fcn.004cb761
mov esi, dword [ebp - 0x284]
mov eax, dword [esi + 8]
push str.Microsoft.Windows.Common_Controls
push eax
call fcn.004cb335
add esp, 8
test eax, eax
je 0x472d20
mov edi, dword [ebp - 0x288]
test edi, edi
jne 0x471e16
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471d2c
call fcn.004cb761
test edi, edi
jne 0x471e1d
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471d45
call fcn.004cb761
test edi, edi
jne 0x471e24
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x471d5e
call fcn.004cb761
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
push edx
push eax
push ecx
lea edx, [ebp - 0x270]
push str._s__s__s_
push edx
call fcn.00478210
add esp, 0x14
push 0x24c
lea eax, [ebp - 0x25c]
push 0
mov byte [ebp - 4], 0x14
push eax
mov dword [ebp - 0x260], 0
call fcn.004cc1d0
add esp, 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x260]
push ecx
push 0
push ecx
mov edi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x26c], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov esi, 0x4fe58c
shr esi, 0x10
mov byte [ebp - 4], 0x15
test esi, esi
jne 0x471e2b
mov ecx, 0x4fe58c
movzx ebx, cx
push ebx
call fcn.004c463d
test eax, eax
je 0x471e45
push ebx
push eax
mov ecx, edi
call fcn.00424e82
jmp 0x471e45
mov eax, dword [eax]
jmp 0x471cde
mov eax, dword [edi]
jmp 0x471d22
mov eax, dword [edi]
jmp 0x471d3b
mov eax, dword [edi]
jmp 0x471d54
push 0x4fe58c
call fcn.004cb5ea
add esp, 4
push eax
push 0x4fe58c
mov ecx, edi
call fcn.004253ae
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x270]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x17
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp - 0x274], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x2a8]
mov byte [ebp - 4], 0x14
call fcn.00477ad0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
mov dword [ebp - 0x274], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471ed0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push ecx
mov edi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x26c], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x18
test esi, esi
jne 0x471f27
mov ecx, 0x4fe58c
movzx ebx, cx
push ebx
call fcn.004c463d
test eax, eax
je 0x471f41
push ebx
push eax
mov ecx, edi
call fcn.00424e82
jmp 0x471f41
push 0x4fe58c
call fcn.004cb5ea
add esp, 4
push eax
push 0x4fe58c
mov ecx, edi
call fcn.004253ae
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x270]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x1a
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp - 0x280], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x2a4]
mov byte [ebp - 4], 0x14
call fcn.00477ad0
add esp, 0xc
mov byte [ebp - 4], 0x1b
mov eax, dword [eax]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x268], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.Searching_for_deferred_assembly:__s0x_x
mov byte [ebp - 4], 0x1c
test ecx, 0xffff0000
jne 0x471ffc
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c463d
test eax, eax
je 0x472016
push ebx
push eax
mov ecx, edi
call fcn.00424e82
jmp 0x472016
push str.Searching_for_deferred_assembly:__s0x_x
call fcn.004cb5ea
add esp, 4
push eax
push str.Searching_for_deferred_assembly:__s0x_x
mov ecx, edi
call fcn.004253ae
push ecx
mov byte [ebp - 4], 0x1d
mov edi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x268], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.General
mov byte [ebp - 4], 0x1e
test ecx, 0xffff0000
jne 0x472076
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c463d
test eax, eax
je 0x472090
push ebx
push eax
mov ecx, edi
call fcn.00424e82
jmp 0x472090
push str.General
call fcn.004cb5ea
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.004253ae
mov byte [ebp - 4], 0x1d
push 1
mov byte [ebp - 4], 0x1b
call fcn.0047d3f0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4720c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x274], 0xffffffff
je 0x472cfa
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x26c], 1
push 2
push ecx
mov dword [ebp - 0x280], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x4fe58c
call fcn.004247ea
push ecx
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x268], esp
push edx
call fcn.004247ea
mov eax, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x290], esp
mov ebx, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0x14
call fcn.00477ad0
mov ecx, dword [ebp - 0x28c]
add esp, 0xc
push ecx
call fcn.004701c0
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x260]
push edx
push eax
call esi
test eax, eax
jne 0x4720e5
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4721a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x310]
push ecx
mov byte [ebp - 4], 9
call fcn.00463760
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x471ac0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x471ac0
mov edi, dword [ebp - 0x27c]
test edi, edi
jne 0x47237f
call fcn.004cb761
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x472203
call fcn.004cb761
mov eax, dword [esi]
mov ecx, dword [eax + 0x68]
sub ecx, dword [eax + 0x64]
add eax, 0x58
sar ecx, 2
push ecx
test edi, edi
jne 0x472386
call fcn.004cb761
cmp esi, dword [edi + 0x10]
jb 0x472229
call fcn.004cb761
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x290], esp
mov dword [ebp - 0x274], esi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.DetermineAssembliesToCreate_SxS_:__s_requires_products_assembly___s_._This_assembly_has__d_redirects:
mov byte [ebp - 4], 0xb
test ecx, 0xffff0000
jne 0x47238d
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c463d
mov esi, eax
test esi, esi
je 0x472483
mov eax, ebx
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x472483
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472483
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x472483
mov edx, dword [ebp - 0x264]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and ebx, 0xf
jbe 0x4722f9
cmp edi, eax
jae 0x472483
sub ebx, 1
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4722e5
cmp edi, eax
jae 0x472483
movzx eax, word [edi]
test ax, ax
je 0x472483
mov esi, dword [ebp - 0x274]
movzx ebx, ax
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x472334
push ebx
mov ecx, esi
call fcn.004224f5
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x472351
push edi
call fcn.004cb5ea
add esp, 4
inc eax
mov ecx, dword [ebp - 0x264]
add eax, eax
push eax
push edi
lea esi, [ebx + ebx]
push esi
push ecx
call fcn.004cb072
add esp, 0x10
cmp eax, 0x50
ja case.0x472a89.1
movzx edx, byte [eax + 0x47303c]
jmp dword [edx*4 + 0x47302c]
mov eax, dword [edi]
jmp 0x4721f9
mov edi, dword [edi]
jmp 0x47221f
push str.DetermineAssembliesToCreate_SxS_:__s_requires_products_assembly___s_._This_assembly_has__d_redirects:
call fcn.004cb5ea
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4723fa
mov ecx, dword [esi]
mov edi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x472483
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x4723d1
cmp dword [ecx - 8], ebx
jl 0x472dfd
mov dword [ecx - 0xc], ebx
mov edx, dword [esi]
xor eax, eax
mov word [edx], ax
jmp 0x472483
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4723e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x472483
mov esi, dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x264], ecx
mov edi, str.DetermineAssembliesToCreate_SxS_:__s_requires_products_assembly___s_._This_assembly_has__d_redirects:
sub edi, eax
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x47242d
push ebx
mov ecx, esi
call fcn.004224f5
mov eax, dword [esi]
mov ecx, dword [eax - 8]
lea esi, [ebx + ebx]
push esi
cmp edi, dword [ebp - 0x264]
ja 0x47244d
lea edx, [eax + edi*2]
push edx
add ecx, ecx
push ecx
push eax
call fcn.004cb140
jmp 0x47245c
push str.DetermineAssembliesToCreate_SxS_:__s_requires_products_assembly___s_._This_assembly_has__d_redirects:
lea edx, [ecx + ecx]
push edx
push eax
call fcn.004cb072
add esp, 0x10
test ebx, ebx
jl 0x472dfd
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x472dfd
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
mov word [esi + eax], cx
push ecx
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x280], esi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, str.General
shr eax, 0x10
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x268], eax
test eax, eax
jne 0x472613
mov ecx, str.General
movzx ebx, cx
push ebx
call fcn.004c463d
mov edi, eax
mov dword [ebp - 0x26c], edi
test edi, edi
je 0x47270f
mov edx, ebx
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x47270f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47270f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x47270f
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x26c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and ebx, 0xf
jbe 0x472564
lea ecx, [ecx]
cmp edi, eax
jae 0x47270f
sub ebx, 1
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x472550
cmp edi, eax
jae 0x47270f
movzx eax, word [edi]
test ax, ax
je 0x47270f
movzx ebx, ax
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x472599
push ebx
mov ecx, esi
call fcn.004224f5
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x4725b6
push edi
call fcn.004cb5ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [ebx + ebx]
push edi
push ecx
mov dword [ebp - 0x26c], ecx
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004cb072
add esp, 0x10
cmp eax, 0x50
ja case.0x472a89.1
movzx edx, byte [eax + 0x4730a0]
jmp dword [edx*4 + 0x473090]
test ebx, ebx
jl 0x472dfd
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x472dfd
mov edx, dword [ebp - 0x26c]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x47270f
push str.General
call fcn.004cb5ea
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x472680
mov ecx, dword [esi]
mov edi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x47270f
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x472657
cmp dword [ecx - 8], ebx
jl 0x472dfd
mov dword [ecx - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x47270f
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47266d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x47270f
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x264], ecx
mov edi, str.General
sub edi, eax
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x4726ad
push ebx
mov ecx, esi
call fcn.004224f5
mov eax, dword [esi]
cmp edi, dword [ebp - 0x264]
ja 0x4726d9
mov edx, dword [eax - 8]
lea ecx, [ebx + ebx]
push ecx
mov dword [ebp - 0x264], ecx
lea ecx, [eax + edi*2]
push ecx
add edx, edx
push edx
push eax
call fcn.004cb140
mov edi, dword [ebp - 0x264]
jmp 0x4726ee
mov ecx, dword [eax - 8]
lea edi, [ebx + ebx]
push edi
push str.General
add ecx, ecx
push ecx
push eax
call fcn.004cb072
add esp, 0x10
test ebx, ebx
jl 0x472dfd
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x472dfd
mov dword [eax - 0xc], ebx
mov edx, dword [esi]
xor eax, eax
mov word [edi + edx], ax
mov byte [ebp - 4], 0xc
push 1
mov byte [ebp - 4], 0xa
call fcn.0047d3f0
mov eax, dword [ebp - 0x27c]
add esp, 0x18
test eax, eax
jne 0x47293a
call fcn.004cb761
xor eax, eax
mov esi, dword [ebp - 0x278]
cmp esi, dword [eax + 0x10]
jb 0x472746
call fcn.004cb761
mov esi, dword [esi]
mov edi, dword [esi + 0x64]
add esi, 0x58
cmp edi, dword [esi + 0x10]
jbe 0x472758
call fcn.004cb761
mov ebx, dword [esi]
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], edi
mov eax, dword [ebp - 0x27c]
test eax, eax
jne 0x472941
call fcn.004cb761
xor eax, eax
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax + 0x10]
jb 0x47278b
call fcn.004cb761
mov edx, dword [ebp - 0x278]
mov edi, dword [edx]
mov esi, dword [edi + 0x68]
add edi, 0x58
cmp dword [edi + 0xc], esi
jbe 0x4727a3
call fcn.004cb761
mov edi, dword [edi]
test ebx, ebx
je 0x4727ad
cmp ebx, edi
je 0x4727b2
call fcn.004cb761
cmp dword [ebp - 0x294], esi
je 0x472b19
test ebx, ebx
jne 0x472948
call fcn.004cb761
xor eax, eax
mov ecx, dword [ebp - 0x294]
cmp ecx, dword [eax + 0x10]
jb 0x4727dd
call fcn.004cb761
mov edx, dword [ebp - 0x294]
mov eax, dword [edx]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x290], esp
mov dword [ebp - 0x274], esi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.___bindingRedirect:__s
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x472975
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c463d
mov esi, eax
test esi, esi
je 0x47298f
mov eax, ebx
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x47298f
mov edx, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47298f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x47298f
mov eax, dword [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and ebx, 0xf
jbe 0x4728b4
lea ebx, [ebx]
cmp edi, eax
jae 0x47298f
sub ebx, 1
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4728a0
cmp edi, eax
jae 0x47298f
movzx eax, word [edi]
test ax, ax
je 0x47298f
mov esi, dword [ebp - 0x274]
movzx ebx, ax
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x4728ef
push ebx
mov ecx, esi
call fcn.004224f5
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x47290c
push edi
call fcn.004cb5ea
add esp, 4
inc eax
mov ecx, dword [ebp - 0x264]
add eax, eax
push eax
push edi
lea esi, [ebx + ebx]
push esi
push ecx
call fcn.004cb072
add esp, 0x10
cmp eax, 0x50
ja case.0x472a89.1
movzx edx, byte [eax + 0x473104]
jmp dword [edx*4 + 0x4730f4]
mov eax, dword [eax]
jmp 0x472736
mov eax, dword [eax]
jmp 0x47277b
mov eax, dword [ebx]
jmp 0x4727cd
test ebx, ebx
jl 0x472dfd
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x472dfd
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x47298f
push str.___bindingRedirect:__s
call fcn.004cb5ea
add esp, 4
push eax
push str.___bindingRedirect:__s
mov ecx, esi
call fcn.004253ae
push ecx
mov byte [ebp - 4], 0xf
mov esi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x280], esi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x268], 0
jne 0x472ab6
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004c463d
mov ebx, eax
test ebx, ebx
je 0x472ad0
mov edx, edi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x472ad0
push edi
push eax
push ebx
call fcn.004226d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x472ad0
mov eax, dword [esi]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x472a3e
push edi
mov ecx, esi
call fcn.004224f5
movzx eax, word [ebx]
mov ecx, dword [esi]
add ebx, 2
mov dword [ebp - 0x264], ecx
cmp eax, 0xffffffff
jne 0x472a5b
push ebx
call fcn.004cb5ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x264]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 0x26c], ecx
call fcn.004cb072
add esp, 0x10
cmp eax, 0x50
ja case.0x472a89.1
movzx ecx, byte [eax + 0x473168]
jmp dword [ecx*4 + 0x473158]
test edi, edi
jl 0x472dfd
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x472dfd
mov ecx, dword [ebp - 0x26c]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x472ad0
push str.General
call fcn.004cb5ea
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.004253ae
mov byte [ebp - 4], 0xf
push 1
mov byte [ebp - 4], 0xa
call fcn.0047d3f0
mov eax, dword [ebp - 0x298]
add esp, 0x10
test eax, eax
jne 0x472b15
call fcn.004cb761
xor eax, eax
mov edx, dword [ebp - 0x294]
cmp edx, dword [eax + 0x10]
jb 0x472b03
call fcn.004cb761
add dword [ebp - 0x294], 4
mov ebx, dword [ebp - 0x298]
jmp 0x472766
mov eax, dword [eax]
jmp 0x472af3
mov esi, dword [ebp - 0x27c]
test esi, esi
jne 0x472ca3
call fcn.004cb761
xor eax, eax
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax + 0x10]
jb 0x472b3e
call fcn.004cb761
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x2ac]
call fcn.004810a0
mov dword [ebp - 0x264], 1
test esi, esi
jne 0x472caa
call fcn.004cb761
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x472b72
call fcn.004cb761
mov edx, dword [ebx]
cmp dword [edx + 0x24], 2
jne 0x472d74
test esi, esi
jne 0x472cb1
call fcn.004cb761
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x472b97
call fcn.004cb761
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x290], esp
mov dword [ebp - 0x280], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.DetermineAssembliesToCreate_SxS_:_turning_assembly__s_from_gatDeferredCandidate_to_gatDeferred
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x472cb8
mov edx, ecx
movzx esi, dx
push esi
call fcn.004c463d
test eax, eax
je 0x472bfb
push esi
push eax
mov ecx, edi
call fcn.00424e82
mov esi, dword [ebp - 0x27c]
push ecx
mov bl, 0x12
mov byte [ebp - 4], bl
mov edi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x280], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4715d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x268], 0
jne 0x472cd7
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004c463d
test eax, eax
je 0x472c63
push esi
push eax
mov ecx, edi
call fcn.00424e82
mov esi, dword [ebp - 0x27c]
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 0xa
call fcn.0047d3f0
add esp, 0x10
test esi, esi
jne 0x472cf6
call fcn.004cb761
xor eax, eax
mov esi, dword [ebp - 0x278]
cmp esi, dword [eax + 0x10]
jb 0x472c95
call fcn.004cb761
mov edx, dword [esi]
mov dword [edx + 0x24], 1
jmp 0x472d74
mov eax, dword [esi]
jmp 0x472b2e
mov eax, dword [esi]
jmp 0x472b68
mov eax, dword [esi]
jmp 0x472b8d
push str.DetermineAssembliesToCreate_SxS_:_turning_assembly__s_from_gatDeferredCandidate_to_gatDeferred
call fcn.004cb5ea
add esp, 4
push eax
push str.DetermineAssembliesToCreate_SxS_:_turning_assembly__s_from_gatDeferredCandidate_to_gatDeferred
mov ecx, edi
call fcn.004253ae
jmp 0x472c01
push str.General
call fcn.004cb5ea
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.004253ae
jmp 0x472c69
mov eax, dword [esi]
jmp 0x472c85
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472d20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2c8]
push ecx
test eax, eax
jne 0x472de3
call fcn.004cb761
xor eax, eax
mov edi, dword [ebp - 0x284]
cmp edi, dword [eax + 0x10]
jb 0x472d4c
call fcn.004cb761
mov eax, dword [edi + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x290], esp
mov esi, esp
push eax
call fcn.0042541f
mov ecx, dword [ebp - 0x28c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00470900
lea edx, [ebp - 0x310]
push edx
mov byte [ebp - 4], 9
call fcn.00463760
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472daa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x472dea
call fcn.004cb761
xor eax, eax
mov ecx, dword [ebp - 0x284]
cmp ecx, dword [eax + 0x10]
jb 0x472dcb
call fcn.004cb761
add dword [ebp - 0x284], 0x74
mov ebx, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x288]
jmp 0x471a87
mov eax, dword [eax]
jmp 0x472d3c
mov eax, dword [eax]
jmp 0x472dbb
call fcn.00422541
call fcn.004bca1f
call fcn.004bca57
push 0x80070057
call fcn.00422000
push 4
call fcn.004bbdc2
add esp, 4
cmp eax, esi
je 0x472e1f
lea edx, [ebp - 0x2c4]
mov dword [eax], edx
jmp 0x472e21
xor eax, eax
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
lea eax, [ebp - 0x2c4]
push eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x290], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0049abb0
add esp, 8
cmp eax, esi
je 0x472f22
mov edi, dword [ebp - 0x2b8]
cmp edi, dword [ebp - 0x2b4]
jbe 0x472e84
call fcn.004cb761
mov ebx, dword [ebp - 0x2c4]
lea ebx, [ebx]
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2b8], esi
jbe 0x472ea3
call fcn.004cb761
test ebx, ebx
je 0x472eaf
cmp ebx, dword [ebp - 0x2c4]
je 0x472eb4
call fcn.004cb761
cmp edi, esi
je 0x472f20
mov ecx, dword [ebp - 0x2c8]
push ecx
test ebx, ebx
jne 0x472f18
call fcn.004cb761
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x472ed4
call fcn.004cb761
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x290], esp
mov esi, esp
push eax
call fcn.0042541f
mov ecx, dword [ebp - 0x28c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00470900
test ebx, ebx
jne 0x472f1c
call fcn.004cb761
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x472f10
call fcn.004cb761
add edi, 4
jmp 0x472e90
mov eax, dword [ebx]
jmp 0x472eca
mov eax, dword [ebx]
jmp 0x472f06
xor esi, esi
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x2b8]
cmp eax, esi
je 0x472f76
mov edi, dword [ebp - 0x2b4]
mov esi, eax
cmp eax, edi
je 0x472f65
lea esp, [esp]
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x472f5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x472f40
mov ecx, dword [ebp - 0x2b8]
push ecx
call fcn.004bbdf1
add esp, 4
xor esi, esi
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c4]
push edx
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
call fcn.004bbdf1
add esp, 4
lea eax, [ebp - 0x2f8]
push eax
mov byte [ebp - 4], 3
call fcn.00463760
lea ecx, [ebp - 0x2e0]
push ecx
mov byte [ebp - 4], 2
call fcn.00473ac0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x472fe1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473007
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x264]
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.004cac83
mov esp, ebp
pop ebp
ret 8