Function at 0x46e330
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 0x4f95f1
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x5470b0]
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.004c31da
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x46e39a
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, 0x507cec
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x46e3db
mov edx, ecx
movzx edi, dx
push edi
call fcn.004cb124
cmp eax, esi
je 0x46e3f9
push edi
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00424e92
jmp 0x46e3f9
push 0x507cec
call fcn.004d1e6a
add esp, 4
push eax
push 0x507cec
lea ecx, [ebp - 0x2a0]
call fcn.00425415
lea eax, [ebp - 0x2e0]
push eax
mov byte [ebp - 4], 2
call fcn.00470880
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 0x46e48b
lea edx, [ebp - 0x2e0]
push edx
mov byte [ebp - 4], 2
call fcn.004708e0
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 0x46e45e
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 0x46e484
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x46fdcd
lea ecx, [ebp - 0x2f8]
push ecx
call fcn.00470880
lea edx, [ebp - 0x2f8]
push edx
push 0x47a410
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 0x46e4cb
call fcn.004d1fe1
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 0x46e4ef
call fcn.004d1fe1
test ebx, ebx
je 0x46e4fb
cmp ebx, dword [ebp - 0x2f8]
je 0x46e500
call fcn.004d1fe1
cmp esi, edi
je 0x46e68e
test ebx, ebx
jne 0x46e674
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46e521
call fcn.004d1fe1
test ebx, ebx
jne 0x46e67b
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46e53a
call fcn.004d1fe1
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 0x46e608
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46e608
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 0x46e608
push eax
lea edx, [ebp - 0x268]
push edx
mov ecx, edi
call fcn.00475720
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.00425486
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.00425486
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 5
call fcn.0046d7c0
mov byte [ebp - 4], 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e608
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 0x46e682
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46e623
call fcn.004d1fe1
test dword [esi], 0xffff0000
je 0x46e64b
test edi, edi
jne 0x46e686
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46e640
call fcn.004d1fe1
mov eax, dword [esi]
push eax
call fcn.004d20e7
add esp, 4
test edi, edi
jne 0x46e68a
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46e660
call fcn.004d1fe1
mov eax, dword [ebp - 0x2e8]
mov ebx, dword [ebp - 0x298]
add esi, 4
jmp 0x46e4e0
mov eax, dword [ebx]
jmp 0x46e517
mov eax, dword [ebx]
jmp 0x46e530
mov eax, dword [edi]
jmp 0x46e619
mov eax, dword [edi]
jmp 0x46e636
mov eax, dword [edi]
jmp 0x46e656
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x510cb8
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00424a44
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 0x46e6ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x46e7da
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
push 0x510cb8
lea edx, [ebp + 0xc]
push edx
push ecx
mov dword [ebp - 0x270], 0
lea ebx, [ebp - 0x270]
lea edi, [ebp - 0x268]
call fcn.00424a44
add esp, 0xc
call fcn.004759c0
add esp, 8
cmp eax, 0xffffffff
je 0x46e7da
mov eax, dword [ebp - 0x270]
mov esi, dword [ebp - 0x268]
test eax, eax
jbe 0x46e7d1
push eax
lea eax, [ebp - 0x268]
push eax
mov ecx, esi
call fcn.00475720
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.00425486
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.00425486
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 7
call fcn.0046d7c0
mov byte [ebp - 4], 4
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x46e7d1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
push esi
call fcn.004d20e7
add esp, 4
mov esi, dword [ebp - 0x2ac]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x268], eax
cmp dword [esi + 0xc], eax
jbe 0x46e7f3
call fcn.004d1fe1
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x46e802
call fcn.004d1fe1
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.00460d70
mov esi, dword [ebp - 0x2d4]
mov ebx, dword [ebp - 0x2d0]
cmp esi, ebx
jbe 0x46e835
call fcn.004d1fe1
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 0x46e854
call fcn.004d1fe1
xor esi, esi
cmp edi, esi
je 0x46e862
cmp edi, dword [ebp - 0x2e0]
je 0x46e867
call fcn.004d1fe1
cmp dword [ebp - 0x284], ebx
je 0x46fbc7
mov dword [ebp - 0x26c], esi
lea esp, [esp]
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x46e8cb
call fcn.004d1fe1
xor eax, eax
mov esi, dword [ebp - 0x284]
cmp esi, dword [eax + 0x10]
jb 0x46e8a1
call fcn.004d1fe1
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 0x46e8cf
cmp eax, dword [edi]
jne 0x46e8cf
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x46e90a
mov eax, dword [eax]
jmp 0x46e891
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 0x46fbae
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.004d18eb
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 0x46e93d
push edi
lea ecx, [ebp - 0x29c]
call fcn.00422524
mov ebx, dword [ebp - 0x29c]
lea ecx, [edi + 1]
push ecx
push ebx
call fcn.004d50fa
add esp, 8
test edi, edi
jl 0x46fbbd
cmp edi, dword [ebx - 8]
jg 0x46fbbd
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.00470710
lea ecx, [ebp - 0x310]
push ecx
mov ecx, eax
call fcn.004608c0
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x300]
cmp ebx, eax
jbe 0x46e9a9
call fcn.004d1fe1
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 0x46e9cf
call fcn.004d1fe1
test edi, edi
je 0x46e9db
cmp edi, dword [ebp - 0x310]
je 0x46e9e0
call fcn.004d1fe1
cmp esi, ebx
je 0x46ea7c
test edi, edi
jne 0x46ea70
call fcn.004d1fe1
cmp esi, dword [edi + 0x10]
jb 0x46e9ff
call fcn.004d1fe1
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x46ea74
call fcn.004d1fe1
xor eax, eax
mov edx, dword [ebp - 0x284]
cmp edx, dword [eax + 0x10]
jb 0x46ea20
call fcn.004d1fe1
mov esi, dword [ebp - 0x278]
mov edi, dword [esi]
mov ebx, dword [ebp - 0x284]
call fcn.00470150
test eax, eax
jne 0x46efa4
mov eax, dword [ebp - 0x27c]
test eax, eax
jne 0x46ea78
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46ea56
call fcn.004d1fe1
mov eax, dword [ebp - 0x300]
mov edi, dword [ebp - 0x27c]
add esi, 4
mov dword [ebp - 0x278], esi
jmp 0x46e9c0
mov edi, dword [edi]
jmp 0x46e9f5
mov eax, dword [eax]
jmp 0x46ea10
mov eax, dword [eax]
jmp 0x46ea4c
cmp dword [ebp - 0x26c], 0
jne 0x46fae0
mov eax, dword [ebp - 0x288]
test eax, eax
jne 0x46ebcf
call fcn.004d1fe1
xor eax, eax
mov ecx, dword [ebp - 0x284]
cmp ecx, dword [eax + 0x10]
jb 0x46eaae
call fcn.004d1fe1
mov esi, dword [ebp - 0x284]
mov eax, dword [esi + 8]
push str.Microsoft.Windows.Common_Controls
push eax
call fcn.004d1bae
add esp, 8
test eax, eax
je 0x46fae0
mov edi, dword [ebp - 0x288]
test edi, edi
jne 0x46ebd6
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46eaec
call fcn.004d1fe1
test edi, edi
jne 0x46ebdd
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46eb05
call fcn.004d1fe1
test edi, edi
jne 0x46ebe4
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46eb1e
call fcn.004d1fe1
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.00475230
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.004d2a50
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov esi, 0x5060a8
shr esi, 0x10
mov byte [ebp - 4], 0x15
test esi, esi
jne 0x46ebeb
mov ecx, 0x5060a8
movzx ebx, cx
push ebx
call fcn.004cb124
test eax, eax
je 0x46ec05
push ebx
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x46ec05
mov eax, dword [eax]
jmp 0x46ea9e
mov eax, dword [edi]
jmp 0x46eae2
mov eax, dword [edi]
jmp 0x46eafb
mov eax, dword [edi]
jmp 0x46eb14
push 0x5060a8
call fcn.004d1e6a
add esp, 4
push eax
push 0x5060a8
mov ecx, edi
call fcn.00425415
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.00425486
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.00425486
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x2a8]
mov byte [ebp - 4], 0x14
call fcn.00474af0
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 0x46ec90
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46ece7
mov ecx, 0x5060a8
movzx ebx, cx
push ebx
call fcn.004cb124
test eax, eax
je 0x46ed01
push ebx
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x46ed01
push 0x5060a8
call fcn.004d1e6a
add esp, 4
push eax
push 0x5060a8
mov ecx, edi
call fcn.00425415
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.00425486
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.00425486
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x2a4]
mov byte [ebp - 4], 0x14
call fcn.00474af0
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46edbc
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
test eax, eax
je 0x46edd6
push ebx
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x46edd6
push str.Searching_for_deferred_assembly:__s0x_x
call fcn.004d1e6a
add esp, 4
push eax
push str.Searching_for_deferred_assembly:__s0x_x
mov ecx, edi
call fcn.00425415
push ecx
mov byte [ebp - 4], 0x1d
mov edi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x268], edi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46ee36
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
test eax, eax
je 0x46ee50
push ebx
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x46ee50
push str.General
call fcn.004d1e6a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.00425415
mov byte [ebp - 4], 0x1d
push 1
mov byte [ebp - 4], 0x1b
call fcn.00479f70
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 0x46ee88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x274], 0xffffffff
je 0x46faba
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 0x5060a8
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x268], esp
push edx
call fcn.004247f5
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.00425486
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0x14
call fcn.00474af0
mov ecx, dword [ebp - 0x28c]
add esp, 0xc
push ecx
call fcn.0046cf80
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x260]
push edx
push eax
call esi
test eax, eax
jne 0x46eea5
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 0x46ef65
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.00470a10
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 0x46e880
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x46e880
mov edi, dword [ebp - 0x27c]
test edi, edi
jne 0x46f13f
call fcn.004d1fe1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46efc3
call fcn.004d1fe1
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 0x46f146
call fcn.004d1fe1
cmp esi, dword [edi + 0x10]
jb 0x46efe9
call fcn.004d1fe1
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46f14d
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
mov esi, eax
test esi, esi
je 0x46f243
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 0x46f243
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46f243
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x46f243
mov edx, dword [ebp - 0x264]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and ebx, 0xf
jbe 0x46f0b9
cmp edi, eax
jae 0x46f243
sub ebx, 1
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x46f0a5
cmp edi, eax
jae 0x46f243
movzx eax, word [edi]
test ax, ax
je 0x46f243
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 0x46f0f4
push ebx
mov ecx, esi
call fcn.00422524
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x46f111
push edi
call fcn.004d1e6a
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.004d18eb
add esp, 0x10
cmp eax, 0x50
ja case.0x46f849.1
movzx edx, byte [eax + 0x46fdfc]
jmp dword [edx*4 + 0x46fdec]
mov eax, dword [edi]
jmp 0x46efb9
mov edi, dword [edi]
jmp 0x46efdf
push str.DetermineAssembliesToCreate_SxS_:__s_requires_products_assembly___s_._This_assembly_has__d_redirects:
call fcn.004d1e6a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46f1ba
mov ecx, dword [esi]
mov edi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x46f243
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x46f191
cmp dword [ecx - 8], ebx
jl 0x46fbbd
mov dword [ecx - 0xc], ebx
mov edx, dword [esi]
xor eax, eax
mov word [edx], ax
jmp 0x46f243
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f1a7
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 0x46f243
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 0x46f1ed
push ebx
mov ecx, esi
call fcn.00422524
mov eax, dword [esi]
mov ecx, dword [eax - 8]
lea esi, [ebx + ebx]
push esi
cmp edi, dword [ebp - 0x264]
ja 0x46f20d
lea edx, [eax + edi*2]
push edx
add ecx, ecx
push ecx
push eax
call fcn.004d19b9
jmp 0x46f21c
push str.DetermineAssembliesToCreate_SxS_:__s_requires_products_assembly___s_._This_assembly_has__d_redirects:
lea edx, [ecx + ecx]
push edx
push eax
call fcn.004d18eb
add esp, 0x10
test ebx, ebx
jl 0x46fbbd
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x46fbbd
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46f3d3
mov ecx, str.General
movzx ebx, cx
push ebx
call fcn.004cb124
mov edi, eax
mov dword [ebp - 0x26c], edi
test edi, edi
je 0x46f4cf
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 0x46f4cf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46f4cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x46f4cf
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 0x46f324
lea ecx, [ecx]
cmp edi, eax
jae 0x46f4cf
sub ebx, 1
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x46f310
cmp edi, eax
jae 0x46f4cf
movzx eax, word [edi]
test ax, ax
je 0x46f4cf
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 0x46f359
push ebx
mov ecx, esi
call fcn.00422524
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x46f376
push edi
call fcn.004d1e6a
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.004d18eb
add esp, 0x10
cmp eax, 0x50
ja case.0x46f849.1
movzx edx, byte [eax + 0x46fe60]
jmp dword [edx*4 + 0x46fe50]
test ebx, ebx
jl 0x46fbbd
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x46fbbd
mov edx, dword [ebp - 0x26c]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x46f4cf
push str.General
call fcn.004d1e6a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46f440
mov ecx, dword [esi]
mov edi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x46f4cf
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x46f417
cmp dword [ecx - 8], ebx
jl 0x46fbbd
mov dword [ecx - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x46f4cf
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f42d
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 0x46f4cf
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 0x46f46d
push ebx
mov ecx, esi
call fcn.00422524
mov eax, dword [esi]
cmp edi, dword [ebp - 0x264]
ja 0x46f499
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.004d19b9
mov edi, dword [ebp - 0x264]
jmp 0x46f4ae
mov ecx, dword [eax - 8]
lea edi, [ebx + ebx]
push edi
push str.General
add ecx, ecx
push ecx
push eax
call fcn.004d18eb
add esp, 0x10
test ebx, ebx
jl 0x46fbbd
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x46fbbd
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.00479f70
mov eax, dword [ebp - 0x27c]
add esp, 0x18
test eax, eax
jne 0x46f6fa
call fcn.004d1fe1
xor eax, eax
mov esi, dword [ebp - 0x278]
cmp esi, dword [eax + 0x10]
jb 0x46f506
call fcn.004d1fe1
mov esi, dword [esi]
mov edi, dword [esi + 0x64]
add esi, 0x58
cmp edi, dword [esi + 0x10]
jbe 0x46f518
call fcn.004d1fe1
mov ebx, dword [esi]
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], edi
mov eax, dword [ebp - 0x27c]
test eax, eax
jne 0x46f701
call fcn.004d1fe1
xor eax, eax
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax + 0x10]
jb 0x46f54b
call fcn.004d1fe1
mov edx, dword [ebp - 0x278]
mov edi, dword [edx]
mov esi, dword [edi + 0x68]
add edi, 0x58
cmp dword [edi + 0xc], esi
jbe 0x46f563
call fcn.004d1fe1
mov edi, dword [edi]
test ebx, ebx
je 0x46f56d
cmp ebx, edi
je 0x46f572
call fcn.004d1fe1
cmp dword [ebp - 0x294], esi
je 0x46f8d9
test ebx, ebx
jne 0x46f708
call fcn.004d1fe1
xor eax, eax
mov ecx, dword [ebp - 0x294]
cmp ecx, dword [eax + 0x10]
jb 0x46f59d
call fcn.004d1fe1
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46f735
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
mov esi, eax
test esi, esi
je 0x46f74f
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 0x46f74f
mov edx, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46f74f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x46f74f
mov eax, dword [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and ebx, 0xf
jbe 0x46f674
lea ebx, [ebx]
cmp edi, eax
jae 0x46f74f
sub ebx, 1
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x46f660
cmp edi, eax
jae 0x46f74f
movzx eax, word [edi]
test ax, ax
je 0x46f74f
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 0x46f6af
push ebx
mov ecx, esi
call fcn.00422524
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x46f6cc
push edi
call fcn.004d1e6a
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.004d18eb
add esp, 0x10
cmp eax, 0x50
ja case.0x46f849.1
movzx edx, byte [eax + 0x46fec4]
jmp dword [edx*4 + 0x46feb4]
mov eax, dword [eax]
jmp 0x46f4f6
mov eax, dword [eax]
jmp 0x46f53b
mov eax, dword [ebx]
jmp 0x46f58d
test ebx, ebx
jl 0x46fbbd
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x46fbbd
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x46f74f
push str.___bindingRedirect:__s
call fcn.004d1e6a
add esp, 4
push eax
push str.___bindingRedirect:__s
mov ecx, esi
call fcn.00425415
push ecx
mov byte [ebp - 4], 0xf
mov esi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x280], esi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46f876
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004cb124
mov ebx, eax
test ebx, ebx
je 0x46f890
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 0x46f890
push edi
push eax
push ebx
call fcn.004226f9
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x46f890
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 0x46f7fe
push edi
mov ecx, esi
call fcn.00422524
movzx eax, word [ebx]
mov ecx, dword [esi]
add ebx, 2
mov dword [ebp - 0x264], ecx
cmp eax, 0xffffffff
jne 0x46f81b
push ebx
call fcn.004d1e6a
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.004d18eb
add esp, 0x10
cmp eax, 0x50
ja case.0x46f849.1
movzx ecx, byte [eax + 0x46ff28]
jmp dword [ecx*4 + 0x46ff18]
test edi, edi
jl 0x46fbbd
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x46fbbd
mov ecx, dword [ebp - 0x26c]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x46f890
push str.General
call fcn.004d1e6a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425415
mov byte [ebp - 4], 0xf
push 1
mov byte [ebp - 4], 0xa
call fcn.00479f70
mov eax, dword [ebp - 0x298]
add esp, 0x10
test eax, eax
jne 0x46f8d5
call fcn.004d1fe1
xor eax, eax
mov edx, dword [ebp - 0x294]
cmp edx, dword [eax + 0x10]
jb 0x46f8c3
call fcn.004d1fe1
add dword [ebp - 0x294], 4
mov ebx, dword [ebp - 0x298]
jmp 0x46f526
mov eax, dword [eax]
jmp 0x46f8b3
mov esi, dword [ebp - 0x27c]
test esi, esi
jne 0x46fa63
call fcn.004d1fe1
xor eax, eax
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax + 0x10]
jb 0x46f8fe
call fcn.004d1fe1
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x2ac]
call fcn.004706b0
mov dword [ebp - 0x264], 1
test esi, esi
jne 0x46fa6a
call fcn.004d1fe1
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x46f932
call fcn.004d1fe1
mov edx, dword [ebx]
cmp dword [edx + 0x24], 2
jne 0x46fb34
test esi, esi
jne 0x46fa71
call fcn.004d1fe1
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x46f957
call fcn.004d1fe1
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46fa78
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
test eax, eax
je 0x46f9bb
push esi
push eax
mov ecx, edi
call fcn.00424e92
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e390
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 0x46fa97
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004cb124
test eax, eax
je 0x46fa23
push esi
push eax
mov ecx, edi
call fcn.00424e92
mov esi, dword [ebp - 0x27c]
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 0xa
call fcn.00479f70
add esp, 0x10
test esi, esi
jne 0x46fab6
call fcn.004d1fe1
xor eax, eax
mov esi, dword [ebp - 0x278]
cmp esi, dword [eax + 0x10]
jb 0x46fa55
call fcn.004d1fe1
mov edx, dword [esi]
mov dword [edx + 0x24], 1
jmp 0x46fb34
mov eax, dword [esi]
jmp 0x46f8ee
mov eax, dword [esi]
jmp 0x46f928
mov eax, dword [esi]
jmp 0x46f94d
push str.DetermineAssembliesToCreate_SxS_:_turning_assembly__s_from_gatDeferredCandidate_to_gatDeferred
call fcn.004d1e6a
add esp, 4
push eax
push str.DetermineAssembliesToCreate_SxS_:_turning_assembly__s_from_gatDeferredCandidate_to_gatDeferred
mov ecx, edi
call fcn.00425415
jmp 0x46f9c1
push str.General
call fcn.004d1e6a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.00425415
jmp 0x46fa29
mov eax, dword [esi]
jmp 0x46fa45
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 0x46fae0
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 0x46fba3
call fcn.004d1fe1
xor eax, eax
mov edi, dword [ebp - 0x284]
cmp edi, dword [eax + 0x10]
jb 0x46fb0c
call fcn.004d1fe1
mov eax, dword [edi + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x290], esp
mov esi, esp
push eax
call fcn.00425486
mov ecx, dword [ebp - 0x28c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046d6c0
lea edx, [ebp - 0x310]
push edx
mov byte [ebp - 4], 9
call fcn.00470a10
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 0x46fb6a
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 0x46fbaa
call fcn.004d1fe1
xor eax, eax
mov ecx, dword [ebp - 0x284]
cmp ecx, dword [eax + 0x10]
jb 0x46fb8b
call fcn.004d1fe1
add dword [ebp - 0x284], 0x74
mov ebx, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x288]
jmp 0x46e847
mov eax, dword [eax]
jmp 0x46fafc
mov eax, dword [eax]
jmp 0x46fb7b
call fcn.00428a57
call fcn.004c3742
call fcn.004c377a
push 0x80070057
call fcn.00422000
push 4
call fcn.004c2ac2
add esp, 4
cmp eax, esi
je 0x46fbdf
lea edx, [ebp - 0x2c4]
mov dword [eax], edx
jmp 0x46fbe1
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.00425486
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004975f0
add esp, 8
cmp eax, esi
je 0x46fce2
mov edi, dword [ebp - 0x2b8]
cmp edi, dword [ebp - 0x2b4]
jbe 0x46fc44
call fcn.004d1fe1
mov ebx, dword [ebp - 0x2c4]
lea ebx, [ebx]
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2b8], esi
jbe 0x46fc63
call fcn.004d1fe1
test ebx, ebx
je 0x46fc6f
cmp ebx, dword [ebp - 0x2c4]
je 0x46fc74
call fcn.004d1fe1
cmp edi, esi
je 0x46fce0
mov ecx, dword [ebp - 0x2c8]
push ecx
test ebx, ebx
jne 0x46fcd8
call fcn.004d1fe1
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46fc94
call fcn.004d1fe1
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x290], esp
mov esi, esp
push eax
call fcn.00425486
mov ecx, dword [ebp - 0x28c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046d6c0
test ebx, ebx
jne 0x46fcdc
call fcn.004d1fe1
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46fcd0
call fcn.004d1fe1
add edi, 4
jmp 0x46fc50
mov eax, dword [ebx]
jmp 0x46fc8a
mov eax, dword [ebx]
jmp 0x46fcc6
xor esi, esi
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x2b8]
cmp eax, esi
je 0x46fd36
mov edi, dword [ebp - 0x2b4]
mov esi, eax
cmp eax, edi
je 0x46fd25
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 0x46fd1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x46fd00
mov ecx, dword [ebp - 0x2b8]
push ecx
call fcn.004c2af1
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.004c2af1
add esp, 4
lea eax, [ebp - 0x2f8]
push eax
mov byte [ebp - 4], 3
call fcn.00470a10
lea ecx, [ebp - 0x2e0]
push ecx
mov byte [ebp - 4], 2
call fcn.004708e0
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 0x46fda1
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 0x46fdc7
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.004d14fc
mov esp, ebp
pop ebp
ret 8