Function at 0x4befbd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0xc
call fcn.005211d4
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
add ebx, 4
push ebx
push 0x10c
call fcn.005211d4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x742e3a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
push 0x4c
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.005211d4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x742e42
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.005211d4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x742149
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0xc
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0x1c
call fcn.005211d4
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.005211d4
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x48
call fcn.005211d4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x739d6e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x10
push ecx
push ebx
push 8
call fcn.005211d4
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4bf169
pop ebx
pop ebx
mov dword [ebp - 0x24], 0
push dword [ebp + 8]
call fcn.0049f678
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4bf1b6
jmp 0x4bfd33
mov dword [ebp - 8], 0x1000
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x76da6e]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4bf1fd
push 0x108
push 0x401f720
push 6
call fcn.005211e0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4bfcf3
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
jle 0x4bfc66
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
push 0x108
mov eax, dword [ebp - 0x18]
push eax
push 0x10c
call fcn.005211d4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push 2
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x76da72]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4bf2b4
push 0x1d8
push 0x401f720
push 6
call fcn.005211e0
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00521d70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4bf31a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4bf318
imul eax, dword [edi]
jmp 0x4bf30d
mov ecx, eax
cmp ecx, 0x104
jle 0x4bf327
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4bfc66
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
push 0
push 0x40
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call fcn.005211d4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push dword [ebp - 4]
call dword [0x76da76]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4bf495
push 0x250
push 0x401f720
push 6
call fcn.005211e0
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00521d70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4bf566
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4bf564
imul eax, dword [edi]
jmp 0x4bf559
mov ecx, eax
cmp ecx, 4
jle 0x4bf570
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00521d70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4bf5c3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4bf5c1
imul eax, dword [edi]
jmp 0x4bf5b6
mov ecx, eax
cmp ecx, 0xa
jle 0x4bf5cd
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x14
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp word [ebx], 0x5a4d
jne 0x4bfc66
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 0x48
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], esp
push 0
push 0xf8
mov eax, dword [ebp - 0x20]
push eax
push 0xf8
call fcn.005211d4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 0x10
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x4bf7f2
pop ebx
add ebx, 4
pop ebx
add ebx, 4
fld qword [ebp - 0x44]
call fcn.0049c3e7
push eax
push dword [ebp - 4]
call dword [0x76da7a]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4bf850
push 0x2eb
push 0x401f720
push 6
call fcn.005211e0
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x4c]
push ebx
mov edi, dword [ebp - 0x50]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x14
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 0x10
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 8
dec ecx
jne 0x4bf9fe
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0x4550
jne 0x4bfc66
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
call fcn.004bfe1b
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4bfa7f
push ebx
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4bfa96
mov eax, 0x5f69a4
push eax
push 1
mov ebx, 0x154
call fcn.00522820
add esp, 0x10
mov dword [ebp - 0x28], eax
push SysStringLen
push 0
push str.Game_EC.fne
push 1
mov ebx, 0x154
call fcn.00522820
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4bfaf2
mov eax, 0x5f69a4
push eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4bfb06
mov eax, 0x5f69a4
push eax
push 4
mov ebx, 0x148
call fcn.00522c80
add esp, 0x34
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4bfb2c
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4bfb3c
push ebx
call fcn.005211da
add esp, 4
cmp dword [ebp - 0x30], 0xffffffff
je 0x4bfbb0
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push SysStringLen
push 0
push 0x742e36
push SysStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4bfb77
mov eax, 0x5f69a4
push eax
push 4
mov ebx, 0x148
call fcn.00522c80
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4bfba1
jmp 0x4bfd07
push 0
call fcn.00521204
add esp, 4
jmp 0x4bfd07
mov ebx, dword [ebp - 0x10]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0x1000000
jne 0x4bfc66
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0049c3e7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
push 0x80000601
push 0x40b00000
push 0
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x48
call fcn.00523560
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.0049c3e7
mov dword [ebp - 8], eax
jmp 0x4bfcfa
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
fild dword [ebp - 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.0049c3e7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
push 0x80000601
push 0x40b00000
push 0
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x48
call fcn.00523560
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.0049c3e7
mov dword [ebp - 8], eax
jmp 0x4bfcfa
add dword [ebp - 8], 0x1000
cmp dword [ebp - 8], 0x7fff0000
jne 0x4bf1bd
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4bfd33
push 0x91d
push 0x401f720
push 6
call fcn.005211e0
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4bfdd0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4bfdcc
imul eax, dword [ebx]
jmp 0x4bfdc1
mov ecx, eax
test ecx, ecx
je 0x4bfdeb
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4bfdd6
call fcn.005211da
add esp, 4
pop ebx
call fcn.005211da
add esp, 4
pop ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4bfe15
push ebx
call fcn.005211da
add esp, 4
mov esp, ebp
pop ebp
ret 4