Function at 0x46be78
Capabilities:
Enumerate pe sections
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0x46be80
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46e23b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9f0], edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x3c]
add eax, 0xfffffffc
cmp eax, 0x1b
ja case.0x46bebd.27
jmp dword [eax*4 + 0x46bec4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x554], eax
mov ebx, eax
cmp byte [ebx + 4], 1
jne 0x46c201
push 0
lea eax, [ebp - 0x18]
push eax
push 0x1c
lea eax, [ebx + 7]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
add eax, 0x23
sub eax, 7
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
lea eax, [ebp - 0x3c]
push eax
mov cl, byte [ebx + 0x21]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46bfca
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov word [ebp - 0x14], 0
test word [ebx + 5], 2
jbe 0x46c008
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
add eax, 2
movzx edx, word [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebx + 7]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
mov ecx, dword [ebx + 0xb]
mov edx, dword [ebx + 7]
mov eax, dword [ebp - 4]
call fcn.0046be68
test word [ebx + 5], 0x1000
jbe 0x46c038
mov eax, dword [ebx + 7]
mov edx, dword [ebp - 4]
add dword [edx + 0x9ac], eax
jmp 0x46c044
mov eax, dword [ebx + 7]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9ac], eax
mov eax, dword [ebx + 0xb]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9b0], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46c0af
test dword [ebx + 0x13], 0x10
jle 0x46c087
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46c0af
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46c0af
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 0xb]
mov edx, dword [ebx + 7]
mov eax, dword [ebp - 4]
call fcn.0046be68
test byte [ebx + 6], 0x10
jne 0x46c0af
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
test word [ebx + 5], 0x2000
jbe 0x46e1ee
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x4a0]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004646ec
test al, al
jne 0x46c0e2
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x46e200
mov eax, dword [ebp - 8]
call fcn.00461108
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x470], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x468], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
test al, al
jne 0x46c144
push 0
push 0x46e254
push 0x6293
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4a0]
mov edx, dword [0x4663d0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x68]
push 0
lea eax, [ebp - 0x18]
push eax
push 7
mov eax, dword [ebp - 4]
add eax, 0x558
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
push 0
lea eax, [ebp - 0x18]
push eax
push 0x18
mov eax, dword [ebp - 4]
add eax, 0x55f
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 8]
call fcn.004610d0
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x576]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
mov word [ebp - 0x14], 0
mov eax, dword [ebp - 4]
test word [eax + 0x55d], 2
jbe 0x46c1ec
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
add eax, 2
movzx edx, word [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x59c], eax
mov ebx, eax
cmp byte [ebx], 0x1a
jne 0x46c390
cmp byte [ebx + 1], 0x1f
je 0x46c241
cmp byte [ebx + 1], 0
jne 0x46c258
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
lea edx, [ebx + 2]
mov ecx, 0xd
call fcn.00403c20
mov edx, dword [ebp - 0x44]
mov eax, 0x46e260
call fcn.004040a4
dec eax
push eax
lea eax, [ebp - 0x48]
lea edx, [ebx + 2]
mov ecx, 0xd
call fcn.00403c20
mov eax, dword [ebp - 0x48]
mov edx, 1
pop ecx
call fcn.00403fc0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00469b10
cmp byte [ebx + 1], 0x1e
jne 0x46c2e2
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
call fcn.004668e8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x9b4
call fcn.00403dc0
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b38
xor eax, eax
mov dword [ebx + 0xf], eax
xor eax, eax
mov dword [ebx + 0x19], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x9b4]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403e04
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46c329
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46c37f
cmp byte [ebx + 1], 0x1e
jne 0x46c35d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46c37f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46c37f
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 0x19]
mov edx, dword [ebx + 0xf]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebx + 0xf]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9a4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c4], eax
mov esi, eax
cmp word [esi], 0xea60
jne 0x46c3c9
cmp word [esi + 2], 0
jne 0x46c3e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
push 0
lea eax, [ebp - 0x18]
push eax
movzx eax, word [esi + 2]
push eax
lea eax, [esi + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov bl, byte [esi + 4]
lea eax, [esi + 4]
xor edx, edx
mov dl, bl
add eax, edx
lea edx, [ebp - 0x50]
call fcn.00409954
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46c43f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x9d4]
call dword [edi + 0x9d0]
movzx eax, word [esi + 2]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 2
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 4
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9ac], eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9b0], eax
mov al, byte [esi + 8]
and al, 4
cmp al, 4
jne 0x46c62d
mov byte [esi + 8], 0
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x4a0]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004646ec
test al, al
jne 0x46c4bc
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x46e200
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x470], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x468], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x484]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
push 0
lea eax, [ebp - 0x18]
push eax
movzx eax, word [esi + 2]
push eax
lea eax, [esi + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
movzx eax, word [esi + 2]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x484]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
cmp word [esi], 0xea60
jne 0x46c5c6
test byte [esi + 8], 4
seta al
mov edx, dword [ebp - 4]
mov byte [edx + 0x9a0], al
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 2
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x484]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov bl, byte [esi + 4]
movzx eax, word [esi + 2]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x484]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 4]
add dword [edx + 0x9ac], eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 4]
add dword [edx + 0x9b0], eax
test byte [esi + 8], 4
jne 0x46c495
cmp word [esi], 0xea60
jne 0x46c646
lea eax, [esi + 4]
xor edx, edx
mov dl, bl
add eax, edx
lea edx, [ebp - 0x54]
call fcn.00409954
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 4
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 2
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
jmp 0x46c646
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9a0], 0
je 0x46c646
mov al, byte [esi + 8]
and al, 8
cmp al, 8
je 0x46e200
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9ac]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b0]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46e1ee
cmp byte [esi + 0xa], 3
jne 0x46c69d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46e1ee
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5f0], eax
mov ebx, eax
cmp dword [ebx], 0x7054842
jne 0x46c7b6
cmp word [ebx + 4], 0
jne 0x46c702
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
lea eax, [ebp - 0x58]
push eax
mov cl, byte [ebx + 0x21]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46c74d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46c7a5
test word [ebx + 0x1b], 0x10
jbe 0x46c783
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46c7a5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46c7a5
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 0x13]
mov edx, dword [ebx + 0xf]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebx + 0xf]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c4], eax
cmp word [0x4839dc], 0
jne 0x46ca3a
mov ax, word [0x4839de]
and ax, 2
cmp ax, 2
jne 0x46ca23
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004093e4
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004668e8
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
add eax, 0x4a0
mov ecx, dword [0x483a0c]
call fcn.00403e04
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00408b28
test eax, eax
jne 0x46c85f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e200
lea eax, [ebp - 0x70]
mov edx, dword [0x483a10]
call fcn.00404f8c
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4a0]
mov eax, dword [ebp - 4]
call fcn.00464510
test al, al
jne 0x46c894
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x46e200
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004682f4
test al, al
jne 0x46c8c9
push 0
mov eax, dword [0x483a10]
push eax
push 0x6231
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4a0]
mov edx, dword [0x4663d0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x68]
jmp 0x46c913
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4a0]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00467fd0
test al, al
jne 0x46c913
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00467fd0
push 0
mov eax, dword [0x483a10]
push eax
push 0x6294
mov ecx, dword [0x483a0c]
mov edx, dword [0x4663d0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00469688
test al, al
jne 0x46c95a
mov eax, dword [0x483a10]
push eax
push 0x6216
xor ecx, ecx
mov edx, dword [0x483a0c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
push 0
lea eax, [ebp - 0x18]
push eax
push 8
push 0x4839e4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
cmp dword [ebp - 0x18], 0
jne 0x46c9a2
push 0x46e254
push 0x6294
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
xor ecx, ecx
mov edx, dword [0x4839e4]
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
push 8
push 0x4839ec
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
mov edx, dword [0x4839d0]
mov dword [eax + 0x470], edx
cmp dword [ebp - 0x18], 0
jne 0x46ca0e
push 0x46e254
push 0x6294
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466d74
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46ca81
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x9d4]
call dword [ebx + 0x9d0]
dec word [0x4839dc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46e1ee
test word [0x483a02], 0x10
jbe 0x46cacc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46e1ee
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [0x4839f4]
mov edx, dword [0x4839f4]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6d4], eax
mov ebx, eax
cmp byte [ebx], 0x1a
jne 0x46cc0e
cmp byte [ebx + 1], 0
jne 0x46cb33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
lea edx, [ebx + 2]
mov ecx, 0xd
call fcn.00403c20
mov edx, dword [ebp - 0x7c]
mov eax, 0x46e260
call fcn.004040a4
dec eax
push eax
lea eax, [ebp - 0x80]
lea edx, [ebx + 2]
mov ecx, 0xd
call fcn.00403c20
mov eax, dword [ebp - 0x80]
mov edx, 1
pop ecx
call fcn.00403fc0
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46cba7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46cbfd
cmp byte [ebx + 1], 0x1e
jne 0x46cbdb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46cbfd
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46cbfd
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 0x19]
mov edx, dword [ebx + 0xf]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebx + 0xf]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x650], eax
mov ebx, eax
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466d74
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x12]
call fcn.00403b8c
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466d74
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 0x16]
call fcn.00403b8c
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46ccab
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46cce2
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 6]
mov edx, dword [ebx + 2]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
add eax, dword [ebx + 2]
add eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6b0], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x46cd33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 0x14]
sub al, 2
jb 0x46cd44
je 0x46cda0
jmp 0x46ce62
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x24]
mov cl, byte [eax + 0x15]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
push 5
mov eax, dword [ebp - 0x24]
add eax, 0x1a
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
jmp 0x46ce79
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
dec edx
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x24]
add eax, 0x1a
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
push 0
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, dword [ebp - 0x24]
add eax, 0x24
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
push 0
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, dword [ebp - 0x24]
add eax, 0x15
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
add dword [eax + 0x470], 5
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x24]
mov cl, byte [eax + 0x15]
sub cl, 3
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x24]
add eax, 0x1d
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
jmp 0x46ce79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e200
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46cea1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x9d4]
call dword [ebx + 0x9d0]
mov eax, pe_nt_image_headers32
call fcn.0040271c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46cf84
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x46cf58
push 0
lea edx, [ebp - 0x18]
push edx
movzx eax, ax
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
sub al, 2
je 0x46cee3
jmp 0x46cf40
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409954
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x10]
call fcn.00466a84
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x24]
add eax, 0x1f
call fcn.00403b8c
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1f]
call fcn.004668e8
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x46c]
call fcn.00403dc0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x1d]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax - 2]
mov ax, word [eax]
mov edx, dword [ebp - 0x24]
mov word [edx + 0x1d], ax
mov eax, dword [ebp - 0x24]
mov ax, word [eax + 0x1d]
test ax, ax
jbe 0x46cf6e
cmp ax, 0x100
jb 0x46cec1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf8b
mov eax, dword [ebp - 0xc]
call fcn.00402734
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70c], eax
mov ebx, eax
mov ax, word [ebx + 3]
and ax, 0x8000
cmp ax, 0x8000
jne 0x46d08d
cmp word [ebx + 5], 0
je 0x46d08d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x46d0a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov ax, word [ebx + 3]
and ax, 0x4000
cmp ax, 0x4000
je 0x46e1ee
cmp byte [ebx + 2], 0x74
jne 0x46e1ee
lea eax, [ebp - 0x9c]
push eax
mov cl, byte [ebx + 0x1a]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46d111
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
movzx eax, word [ebx + 5]
movzx edx, word [ebx + 0x1a]
add edx, 0x20
cmp eax, edx
jbe 0x46d15c
push 0
lea eax, [ebp - 0x18]
push eax
push 0xd
mov eax, dword [ebp - 4]
add eax, 0x6d8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0x470], edx
movzx eax, word [ebx + 5]
movzx edx, word [ebx + 0x1a]
sub eax, edx
sub eax, 0x20
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
mov eax, dword [ebx + 0xb]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9b0], eax
test dword [ebx + 0x1c], 0x10
jle 0x46d19d
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
call fcn.004668e8
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
jmp 0x46d2af
test word [ebx + 3], 1
jbe 0x46d1af
test byte [ebx + 3], 2
je 0x46d2af
mov ax, word [ebx + 3]
and ax, 2
cmp ax, 2
jne 0x46d2af
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x4a0]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004646ec
test al, al
jne 0x46d1f3
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc4], 0
jne 0x46e200
mov eax, dword [ebp - 8]
call fcn.00461108
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x470], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x468], eax
xor ecx, ecx
mov edx, 7
mov eax, dword [ebp - 8]
call fcn.004610e0
test al, al
jne 0x46d24e
push 0
push 0x46e254
push 0x6293
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [0x4663d0]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x68]
push 0
lea eax, [ebp - 0x18]
push eax
push 0xd
mov eax, dword [ebp - 4]
add eax, 0x6d8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
cmp dword [ebp - 0x18], 0xd
je 0x46d28e
push 0
push 0x46e254
push 0x6294
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [0x4663d0]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x68]
mov eax, dword [ebp - 8]
call fcn.004610d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
test word [ebx + 3], 1
jbe 0x46d2c5
mov eax, dword [ebx + 7]
mov edx, dword [ebp - 4]
add dword [edx + 0x9ac], eax
jmp 0x46d2d1
mov eax, dword [ebx + 7]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9ac], eax
test byte [ebx + 3], 2
je 0x46d2e7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x46e1ee
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46d340
test dword [ebx + 0x1c], 0x10
jle 0x46d31e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46d340
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46d340
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 0xb]
mov edx, dword [ebx + 7]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebx + 7]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov ebx, eax
lea edx, [ebp - 0xa8]
mov eax, ebx
call fcn.00409954
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00466e70
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x46c], 0
jne 0x46d3b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e200
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46d3d9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46d49c
mov al, byte [ebx + 0x9c]
sub al, 1
jb 0x46d469
add al, 0xd1
sub al, 2
jb 0x46d469
je 0x46d40d
sub al, 3
je 0x46d440
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x494]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x47c]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46e1ee
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x494]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x47c]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
and eax, 0x1ff
test eax, eax
je 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
add eax, 0x1ff
shr eax, 9
shl eax, 9
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x62c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
call fcn.00466cc8
test al, al
je 0x46d98f
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x8b1f
je 0x46d510
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x9e1f
jne 0x46d557
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 3]
and al, 4
cmp al, 4
jne 0x46d557
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x12]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
xor ecx, ecx
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.004610e0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
call fcn.0046611c
mov eax, dword [ebp - 4]
fstp qword [eax + 0x460]
wait
jmp 0x46d5d6
mov word [ebp - 0x12], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x458], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x474], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
sub eax, 0xa
mov edx, dword [ebp - 4]
mov dword [edx + 0x47c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x47c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x494], eax
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x9d1f
jne 0x46d5c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00409034
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x460]
wait
jmp 0x46d5d6
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
call fcn.0046611c
mov eax, dword [ebp - 4]
fstp qword [eax + 0x460]
wait
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x8b1f
je 0x46d5ee
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x9e1f
jne 0x46d675
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 3]
and al, 8
cmp al, 8
jne 0x46d675
mov eax, pe_nt_image_headers32
call fcn.0040271c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46d66e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0xff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov byte [eax + edx], 0
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0xc]
call fcn.00409954
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d6cc
mov eax, dword [ebp - 0xc]
call fcn.00402734
ret
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004094d4
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
mov eax, dword [ebp - 4]
add eax, 0x46c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
call fcn.00403f7c
call fcn.00466c10
xor ecx, ecx
mov cl, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov edx, 1
call fcn.00403fc0
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x8b1f
je 0x46d6e4
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x9e1f
jne 0x46d816
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
sub edx, 8
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
cmp dword [ebp - 0x20], 0x8b1f
jne 0x46d7c2
push 0
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, dword [ebp - 0x28]
add eax, 0xa
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0xa]
add edx, 8
sub eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x28]
mov cl, byte [eax + 0xa]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xa]
add eax, 0x10
sub edx, eax
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
push 0
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, dword [ebp - 4]
add eax, 0x458
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 0xa]
add ax, 8
add word [ebp - 0x12], ax
jmp 0x46d7ce
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x458], edx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, dword [ebp - 4]
add eax, 0x494
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 3]
and al, 0x20
cmp al, 0x20
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x474], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
movzx edx, word [ebp - 0x12]
sub eax, edx
sub eax, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x47c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x47c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x494]
jbe 0x46d83c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x47c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x494], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46d86d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x9d4]
call dword [ebx + 0x9d0]
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ca], 0
je 0x46d970
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00409154
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f4], 0x80
jne 0x46d8ac
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3f4], edx
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 4]
mov word [edx + 0x4a6], ax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 3]
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [ebp - 4]
call fcn.004635a0
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 4]
add eax, 0x49c
call fcn.00403b8c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x494]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x47c]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x494]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x47c]
mov eax, dword [ebp - 4]
call fcn.00464904
mov edx, dword [ebp - 4]
mov byte [edx + 0x498], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x9b8]
sub al, 1
jb 0x46d93f
je 0x46d959
dec al
jne 0x46d970
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44]
dec edx
mov eax, dword [ebp - 4]
call fcn.0046abc4
jmp 0x46d970
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
call fcn.004610d0
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x47c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4e4], eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9a8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x46da2c
lea ecx, [ebp - 0xc0]
movzx edx, word [ebx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9a8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.004668e8
mov eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc4]
push eax
mov cl, byte [ebx + 0x1c]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
add eax, 0x46c
pop edx
call fcn.00403e04
jmp 0x46da5a
lea eax, [ebp - 0xc8]
push eax
mov cl, byte [ebx + 0x1c]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46da82
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46dab9
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 2]
mov edx, dword [ebx + 6]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
sub eax, 0x1d
xor edx, edx
mov dl, byte [ebx + 0x1c]
sub eax, edx
movzx edx, word [ebx + 0x16]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31e], 0x10
jne 0x46db3a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
test word [eax + 6], 0x40
jbe 0x46db1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
jmp 0x46db29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
cmp dword [eax], 0x4034b50
sete al
jmp 0x46db86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test word [eax + 8], 0x40
jbe 0x46db68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
jmp 0x46db77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax], 0x2014b50
sete al
test al, al
jne 0x46dbc7
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc4], 0
jne 0x46dbb0
push 0x46e254
push 0x6216
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e200
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31e], 0x10
jne 0x46dc46
mov eax, dword [ebp - 4]
test word [eax + 0xe8], 0x40
jbe 0x46dc15
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x11a]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
call fcn.00469b10
jmp 0x46dcb1
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xfc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
call fcn.00469b10
jmp 0x46dcb1
mov eax, dword [ebp - 4]
test word [eax + 0x70], 0x40
jbe 0x46dc82
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xb2]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 4]
call fcn.00469b10
jmp 0x46dcb1
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x84]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 4]
call fcn.00469b10
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46dcd9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x9d4]
call dword [ebx + 0x9d0]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31e], 0x10
jne 0x46ddc6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46dd56
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov eax, dword [ebp - 4]
test word [eax + 0xe8], 0x40
jbe 0x46dd31
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x116]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x112]
mov eax, dword [ebp - 4]
call fcn.0046be68
jmp 0x46dd4b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xf8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xf4]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebp - 4]
test word [eax + 0xe8], 0x40
jbe 0x46dd95
mov eax, dword [ebp - 4]
add eax, 0x100
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov edx, dword [ebp - 0x2c]
add eax, dword [edx + 0x12]
mov edx, dword [ebp - 0x2c]
movzx edx, word [edx + 0x1c]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46df0a
mov eax, dword [ebp - 4]
add eax, 0xe2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + 0x12]
mov edx, dword [ebp - 0x30]
movzx edx, word [edx + 0x1c]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46df0a
mov eax, dword [ebp - 4]
test word [eax + 0x70], 0x40
jbe 0x46de0c
mov eax, dword [ebp - 4]
cmp word [eax + 0xb6], 0
jbe 0x46ddfd
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xb6]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x9f0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046e82c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xbc]
mov dword [ebp - 0x1c], eax
jmp 0x46de45
mov eax, dword [ebp - 4]
cmp word [eax + 0x88], 0
jbe 0x46de38
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x88]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x9f0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046e82c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x8e]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46ded7
test dword [ebp - 0x1c], 0x10
jg 0x46de6c
test dword [ebp - 0x1c], 8
jle 0x46de85
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9cc], 0
je 0x46ded7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
jmp 0x46ded7
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov eax, dword [ebp - 4]
test word [eax + 0x70], 0x40
jbe 0x46deb5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xae]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xaa]
mov eax, dword [ebp - 4]
call fcn.0046be68
jmp 0x46decc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x80]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
mov eax, dword [ebp - 4]
test word [eax + 0x70], 0x40
jbe 0x46def7
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xb4]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
jmp 0x46df0a
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x86]
mov edx, dword [ebp - 4]
add dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0x1e
jne 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0xcc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
add eax, 0x2e
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x468]
jbe 0x46e1ee
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 0x38]
movsx edx, word [edx + 4]
cmp eax, edx
jg 0x46e1ee
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x88]
inc ecx
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00462e78
test al, al
je 0x46e1ee
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x470], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x468], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc4], 0
jne 0x46e053
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x750], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x750]
mov eax, dword [ebx + 0x18]
add eax, dword [ebx + 0x1c]
test eax, eax
je 0x46dfee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e200
cmp word [ebx + 0x27], 0
jbe 0x46e01b
mov edx, dword [ebx + 0x23]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
movzx eax, word [ebx + 0x27]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x9f0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046e82c
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
add eax, 0x754
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c0], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x484], 0x3a
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x998], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x998]
cmp word [ebx + 0x24], 0
jbe 0x46e09b
mov edx, dword [ebx + 0x20]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004610e0
movzx eax, word [ebx + 0x24]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x9f0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046e82c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78d], 0
jbe 0x46e0fa
lea eax, [ebp - 0xe4]
push eax
mov cl, byte [ebx + 0x39]
dec ecx
mov eax, dword [ebp - 4]
lea edx, [eax + 0x470]
mov eax, dword [ebp - 8]
call fcn.00466dcc
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.00466e70
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
call fcn.004668e8
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
jmp 0x46e107
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b38
lea edx, [ebp - 0xe8]
lea eax, [ebx + 0x26]
call fcn.00409954
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403dc0
lea ecx, [ebp - 0xec]
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x408]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
call fcn.00466b7c
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 4]
add eax, 0x46c
call fcn.00403b8c
mov eax, dword [ebp - 4]
cmp word [eax + 0x9d2], 0
je 0x46e180
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x46c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x9d4]
call dword [esi + 0x9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x46c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x46e1b7
mov eax, dword [ebp - 4]
inc dword [eax + 0xc4]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp - 4]
call fcn.0046be68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046ac14
cmp dword [ebx + 6], 0
jle 0x46e1cb
mov eax, dword [ebx + 6]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x46e1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9f0]
test eax, eax
je 0x46e200
call fcn.00402734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e242
lea eax, [ebp - 0xec]
mov edx, 0x1f
call fcn.00403b5c
lea eax, [ebp - 0x70]
call fcn.00405244
lea eax, [ebp - 0x60]
mov edx, 0xa
call fcn.00403b5c
lea eax, [ebp - 0x10]
call fcn.00403b38
ret