Function at 0x475730
Capabilities:
Allocate or change rwx memory
Check if file exists
Execute shellcode via indirect call
Get file attributes
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc2be
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc70
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbfc], ecx
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0xbf8], eax
mov dword [ebp - 0xbe8], esi
mov byte [ebp - 0xc0c], 0
mov dword [ebp - 0xc10], 0
lea ecx, [ebp - 0x880]
mov dword [ebp - 4], 0
call fcn.00461c60
push 1
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x760], 0
mov dword [ebp - 0x87c], 0
call fcn.00462700
cmp byte [ebp - 0x764], 0
lea eax, [ebp - 0x874]
cmove eax, dword [ebp - 0x878]
xor ecx, ecx
mov word [eax + 4], cx
lea edx, [ebp - 0x880]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc10]
call fcn.00469fb0
test al, al
jne 0x475807
xor edi, edi
jmp 0x4766e1
push 0
push 0
push 0
push 0
push 0x5603d0
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x9a8]
call fcn.00462d10
push 0x4790d0
push 0x479090
push 2
push 0x20
lea eax, [ebp - 0x758]
mov byte [ebp - 4], 2
push eax
call fcn.004a3bbf
lea ecx, [ebp - 0x718]
call fcn.00461c60
mov dword [ebp - 0x73c], 0
mov dword [ebp - 0x71c], 0
mov byte [ebp - 0x5f4], 1
push 1
lea ecx, [ebp - 0xad8]
mov byte [ebp - 4], 3
call fcn.00479130
mov byte [ebp - 4], 4
cmp dword [ebp - 0x9a4], 0
je 0x476645
cmp byte [ebp - 0x88c], 0
lea eax, [ebp - 0x99c]
cmove eax, dword [ebp - 0x9a0]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x476645
shr eax, 4
not al
and al, 1
je 0x476645
cmp byte [ebp - 0x88c], 0
lea eax, [ebp - 0x99c]
lea ecx, [ebp - 0xad8]
cmove eax, dword [ebp - 0x9a0]
add eax, 4
push eax
call fcn.00472980
test al, al
jne 0x4758fc
lea ecx, [ebp - 0xc10]
call fcn.00464450
push 0x5604e8
jmp 0x476655
lea ecx, [ebp - 0x758]
mov dword [ebp - 0x73c], 0
call fcn.0047a170
lea ecx, [ebp - 0x738]
mov dword [ebp - 0x71c], 0
call fcn.0047a170
push 0
lea eax, [ebp - 0x758]
push eax
lea ecx, [ebp - 0xad8]
call fcn.004794d0
push 1
lea eax, [ebp - 0x758]
push eax
lea ecx, [ebp - 0xad8]
call fcn.004794d0
push dword [ebp - 0xa20]
lea ecx, [ebp - 0x718]
call fcn.00461ed0
lea ecx, [ebp - 0xad8]
call fcn.00479c60
xor eax, eax
mov dword [ebp - 0xc68], fcn.004b12a2
mov dword [ebp - 0xc64], fcn.004b2dab
mov dword [ebp - 0xc60], fcn.004ac7ec
mov dword [ebp - 0xbe4], eax
mov dword [ebp - 0xc5c], eax
mov dword [ebp - 0xc58], 0x1fff8
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
lea ecx, [ebp - 0x5f0]
call fcn.00461c60
lea ecx, [ebp - 0x360]
call fcn.00461c60
lea ecx, [ebp - 0x4c8]
call fcn.00461c60
xor eax, eax
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xbe0], eax
mov dword [ebp - 0xc48], eax
mov dword [ebp - 0xc44], 0x11
mov dword [ebp - 0xc2c], eax
mov dword [ebp - 0xc28], 0xa
mov dword [ebp - 0xc24], eax
mov dword [ebp - 0xbec], eax
mov dword [ebp - 0xc20], eax
mov dword [ebp - 0xc1c], fcn.004b12a2
mov dword [ebp - 0xc18], fcn.004b2dab
mov dword [ebp - 0xc14], fcn.004ac7ec
mov dword [ebp - 0xc40], 0x3f400000
mov dword [ebp - 0xc3c], 0x3e800000
mov dword [ebp - 0xc38], 0x40100000
mov dword [ebp - 0xc34], 0x26
mov dword [ebp - 0xc30], eax
xor edx, edx
mov byte [ebp - 4], 9
push esi
lea ecx, [ebp - 0x758]
mov dword [ebp - 0xbf0], edx
xor edi, edi
call fcn.00479110
test eax, eax
jle 0x4761c8
xor eax, eax
mov dword [ebp - 0xbe4], eax
cmp esi, 1
ja 0x4760c8
mov edi, esi
shl edi, 5
test edx, edx
js 0x4760c8
cmp edx, dword [ebp + edi - 0x73c]
jge 0x4760c8
mov edi, dword [ebp + edi - 0x758]
add edi, eax
je 0x476097
push 1
lea ecx, [ebp - 0x5e8]
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x5ec], 0
call fcn.00462700
cmp byte [ebp - 0x4d4], 0
lea eax, [ebp - 0x5e4]
push 1
cmove eax, dword [ebp - 0x5e8]
xor ecx, ecx
mov word [eax + 4], cx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x35c], ecx
lea ecx, [ebp - 0x358]
call fcn.00462700
cmp byte [ebp - 0x244], 0
lea eax, [ebp - 0x354]
push 1
cmove eax, dword [ebp - 0x358]
xor ecx, ecx
mov word [eax + 4], cx
mov dword [ebp - 0x3a8], ecx
mov dword [ebp - 0x4c4], ecx
lea ecx, [ebp - 0x4c0]
call fcn.00462700
cmp byte [ebp - 0x3ac], 0
lea eax, [ebp - 0x4bc]
cmove eax, dword [ebp - 0x4c0]
xor ecx, ecx
mov word [eax + 4], cx
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], cl
jne 0x475b66
mov eax, dword [edi + 8]
add eax, 4
lea ecx, [ebp - 0xc4c]
mov dword [ebp - 0xbdc], eax
lea eax, [ebp - 0xc78]
push eax
lea eax, [ebp - 0xc7c]
push eax
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0xbdc]
push eax
call fcn.00476ab0
test eax, eax
jne 0x475fdb
cmp byte [edi + 0x11c], al
lea eax, [edi + 0xc]
jne 0x475bac
mov eax, dword [edi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x47603f
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor al, al
jne 0x47603f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475c00
sub ecx, edx
sar ecx, 1
je 0x47603f
push 0x551f54
lea eax, [ebp - 0x220]
mov dword [ebp - 0xbdc], 0
push eax
lea eax, [ebp - 0xbdc]
push eax
call fcn.004b1a8f
add esp, 0xc
test eax, eax
jne 0x47603f
push 0x40
push eax
lea eax, [ebp - 0x3a0]
mov byte [ebp - 0xbd1], 1
push eax
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0x3a0]
push dword [ebp - 0xbdc]
push 1
push 0x40
push eax
call fcn.004b2cfb
mov eax, 0x5a4d
add esp, 0x10
cmp ax, word [ebp - 0x3a0]
je 0x475c8e
mov byte [ebp - 0xbd1], 0
jmp 0x475dc8
mov eax, dword [ebp - 0x364]
push 0
add eax, 4
push eax
push dword [ebp - 0xbdc]
call fcn.004b1e86
add esp, 0xc
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x234]
xorps xmm0, xmm0
movups xmmword [ebp - 0x234], xmm0
push dword [ebp - 0xbdc]
push 1
push 0x14
push eax
call fcn.004b2cfb
add esp, 0x10
lea ecx, [ebp - 0x360]
call fcn.00461e50
push dword [ebp - 0x230]
lea eax, [ebp - 0x360]
push 0x55eefc
push eax
call fcn.004623d0
add esp, 0xc
push 0
push dword [ebp - 0x364]
push dword [ebp - 0xbdc]
call fcn.004b1e86
mov eax, dword [ebp - 0x234]
mov ecx, 0x14c
add esp, 0xc
cmp cx, ax
jne 0x475d57
push 0xf8
lea eax, [ebp - 0xbd0]
push 0
push eax
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0xbd0]
push dword [ebp - 0xbdc]
push 1
push 0xf8
push eax
call fcn.004b2cfb
push dword [ebp - 0xb80]
jmp 0x475db4
mov ecx, 0x200
cmp cx, ax
je 0x475d7f
mov ecx, 0x8664
cmp cx, ax
je 0x475d7f
lea ecx, [ebp - 0x360]
call fcn.00461e50
mov byte [ebp - 0xbd1], 0
jmp 0x475dc8
push 0x108
lea eax, [ebp - 0xab8]
push 0
push eax
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0xab8]
push dword [ebp - 0xbdc]
push 1
push 0x108
push eax
call fcn.004b2cfb
push dword [ebp - 0xa68]
lea eax, [ebp - 0x360]
push 0x55eefc
push eax
call fcn.004623d0
add esp, 0x1c
push dword [ebp - 0xbdc]
call fcn.004b1b4c
add esp, 4
cmp byte [ebp - 0xbd1], 0
je 0x47603f
cmp byte [ebp - 0x244], 0
lea eax, [ebp - 0x354]
lea ecx, [ebp - 0xc6c]
cmove eax, dword [ebp - 0x358]
add eax, 4
push eax
call fcn.0046c270
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
mov esi, eax
mov dword [ebp - 0xbd8], esi
jne 0x475e1d
mov ecx, dword [edi + 8]
lea eax, [ecx + 4]
mov dword [ebp - 0xbdc], eax
lea ecx, [ebp - 0xc4c]
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 0xc00]
push eax
lea eax, [ebp - 0xbf4]
push eax
lea eax, [ebp - 0xbdc]
push eax
call fcn.00476ab0
test eax, eax
jne 0x475fd6
cmp dword [ebp - 0xc4c], eax
jne 0x475e8a
push 1
push dword [ebp - 0xc44]
lea ecx, [ebp - 0xc4c]
call fcn.004769f0
mov edx, dword [ebp - 0xc20]
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xbec], edx
mov dword [ebp - 0xbe0], eax
jmp 0x475e90
mov edx, dword [ebp - 0xbec]
test edx, edx
jne 0x475eef
mov esi, dword [ebp - 0xc28]
mov edx, dword [ebp - 0xc1c]
mov eax, edx
shl esi, 4
test edx, edx
mov edx, fcn.004b12a2
cmove eax, edx
lea ecx, [esi + 4]
push ecx
call eax
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x475ecc
mov eax, dword [ebp - 0xc24]
mov dword [ecx], eax
mov dword [ebp - 0xc24], ecx
mov edx, dword [ebp - 0xbec]
lea eax, [esi - 0xc]
add eax, ecx
mov ecx, dword [ebp - 0xc28]
add ecx, 0xffffffff
js 0x475eef
mov dword [eax + 8], edx
mov edx, eax
sub eax, 0x10
sub ecx, 1
jns 0x475ee2
mov esi, edx
mov dword [ebp - 0xbec], esi
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0xbf4]
mov dword [ebp - 0xbec], eax
mov dword [ebp - 0xc20], eax
mov eax, dword [ebp - 0xbdc]
mov dword [esi], eax
mov eax, dword [ebp - 0xc00]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xbe0]
inc eax
mov dword [ebp - 0xbe0], eax
mov dword [ebp - 0xc48], eax
mov eax, dword [ebp - 0xc4c]
mov eax, dword [eax + ecx*4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc4c]
mov dword [eax + ecx*4], esi
mov ecx, dword [ebp - 0xbe0]
cmp ecx, dword [ebp - 0xc34]
jbe 0x475fcb
cmp dword [ebp - 0xc2c], 0
jne 0x475fcb
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x569c80]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [ebp - 0xc40]
call fcn.004f7bc0
mov ecx, eax
xor eax, eax
cmp ecx, 0x11
jbe 0x475f9a
nop word [eax + eax]
inc eax
cmp ecx, dword [eax*4 + 0x561720]
ja 0x475f90
mov eax, dword [eax*4 + 0x561720]
cmp eax, 0xffffffff
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0xc4c]
call fcn.00476b50
mov eax, dword [ebp - 0xc20]
mov dword [ebp - 0xbec], eax
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xbe0], eax
mov eax, dword [ebp - 0xbd8]
mov dword [esi + 4], eax
jmp 0x47603f
mov dword [eax + 4], esi
jmp 0x47603f
mov eax, dword [eax + 4]
mov ecx, 0x552c50
test eax, eax
cmovne ecx, eax
mov esi, ecx
mov dword [ebp - 0xbd8], ecx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x475ff3
sub esi, ecx
lea ecx, [ebp - 0x358]
sar esi, 1
mov dword [ebp - 0x35c], esi
inc esi
push esi
call fcn.00462700
cmp byte [ebp - 0x244], 0
lea eax, [esi + esi]
push eax
push dword [ebp - 0xbd8]
lea ecx, [ebp - 0x354]
cmove ecx, dword [ebp - 0x358]
add ecx, 4
push ecx
call fcn.004a5f60
add esp, 0xc
cmp dword [ebp - 0x35c], 0
je 0x476085
cmp byte [edi + 0x364], 0
lea eax, [edi + 0x254]
jne 0x47605d
mov eax, dword [edi + 0x250]
cmp byte [ebp - 0x244], 0
lea ecx, [ebp - 0x354]
cmove ecx, dword [ebp - 0x358]
add eax, 4
push eax
lea eax, [ecx + 4]
push eax
call fcn.004b2ecb
add esp, 8
test eax, eax
je 0x4760cc
mov eax, dword [ebp - 0xbe4]
mov esi, dword [ebp - 0xbe8]
mov edx, dword [ebp - 0xbf0]
add eax, 0x490
lea ecx, [ebp - 0x758]
inc edx
mov dword [ebp - 0xbe4], eax
push esi
mov dword [ebp - 0xbf0], edx
call fcn.00479110
cmp edx, eax
jge 0x4761bc
mov eax, dword [ebp - 0xbe4]
jmp 0x475a85
xor edi, edi
jmp 0x476097
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x4760db
mov eax, dword [edi + 8]
add eax, 4
mov ecx, 0x552c50
cmovne ecx, eax
mov esi, ecx
mov dword [ebp - 0xbd8], ecx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4760f1
sub esi, ecx
lea ecx, [ebp - 0x5e8]
sar esi, 1
mov dword [ebp - 0x5ec], esi
inc esi
push esi
call fcn.00462700
cmp byte [ebp - 0x4d4], 0
lea eax, [esi + esi]
push eax
push dword [ebp - 0xbd8]
lea ecx, [ebp - 0x5e4]
cmove ecx, dword [ebp - 0x5e8]
add ecx, 4
push ecx
call fcn.004a5f60
add esp, 0xc
lea eax, [edi + 0x378]
cmp byte [edi + 0x488], 0
jne 0x476152
mov eax, dword [edi + 0x374]
add eax, 4
mov ecx, 0x552c50
cmovne ecx, eax
mov esi, ecx
mov dword [ebp - 0xbd8], ecx
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x476170
sub esi, ecx
lea ecx, [ebp - 0x4c0]
sar esi, 1
mov dword [ebp - 0x4c4], esi
inc esi
push esi
call fcn.00462700
cmp byte [ebp - 0x3ac], 0
lea eax, [esi + esi]
push eax
push dword [ebp - 0xbd8]
lea ecx, [ebp - 0x4bc]
cmove ecx, dword [ebp - 0x4c0]
add ecx, 4
push ecx
call fcn.004a5f60
add esp, 0xc
mov eax, dword [ebp - 0xc5c]
mov dword [ebp - 0xbe4], eax
lea ecx, [ebp - 0xc4c]
call fcn.004767d0
cmp dword [ebp - 0x4c4], 0
je 0x47657d
cmp dword [ebp - 0x35c], 0
je 0x47657d
cmp dword [ebp - 0x5ec], 0
je 0x47657d
test edi, edi
je 0x47657d
cmp byte [ebp - 0x4d4], 0
lea eax, [ebp - 0x5e4]
cmove eax, dword [ebp - 0x5e8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47657d
push dword [ebp - 0xbf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xbf0], eax
test eax, eax
je 0x47657d
cmp byte [ebx + 8], 0
mov al, byte [eax]
jne 0x476257
cmp al, 0xe9
je 0x476257
cmp al, 0xe8
jne 0x47657d
push 0x28
call fcn.004a35dc
mov esi, dword [ebp - 0xbfc]
mov edi, eax
add esp, 4
mov dword [ebp - 0xbe0], edi
cmp byte [ebp - 0x4d4], 0
lea eax, [ebp - 0x5e4]
cmove eax, dword [ebp - 0x5e8]
lea ecx, [esi + 0x18]
add eax, 4
push eax
call fcn.0047a420
lea ecx, [ebp - 0xc70]
mov dword [edi], eax
mov eax, dword [ebp - 0xbf8]
push ecx
lea ecx, [ebp - 0xc54]
mov dword [ebp - 0xbd8], eax
push ecx
lea ecx, [ebp - 0xc50]
push ecx
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0xbd8]
mov dword [ebp - 0xbf4], eax
push ecx
mov ecx, eax
call fcn.0047a6e0
test eax, eax
je 0x4762d2
mov esi, dword [eax + 4]
jmp 0x476336
mov edx, dword [ebp - 0xbf8]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4762e0
sub edx, ecx
mov ecx, dword [esi + 0x18]
lea eax, [edx + 1]
push eax
mov dword [ebp - 0xbd8], eax
call fcn.0042e100
mov esi, eax
test esi, esi
je 0x476316
push dword [ebp - 0xbd8]
push dword [ebp - 0xbf8]
push esi
call fcn.004a5f60
add esp, 0xc
mov ecx, dword [ebp - 0xbf4]
lea eax, [ebp - 0xbe8]
push eax
push eax
lea eax, [ebp - 0xc74]
mov dword [ebp - 0xbe8], esi
push eax
call fcn.0047a480
mov ecx, dword [ebp - 0xbfc]
lea eax, [ebp - 0x354]
mov dword [edi + 4], esi
cmp byte [ebp - 0x244], 0
cmove eax, dword [ebp - 0x358]
lea ecx, [ecx + 0x18]
add eax, 4
push eax
call fcn.0047a420
mov dword [edi + 8], eax
lea ecx, [ebp - 0x4bc]
mov eax, dword [ebp - 0xbf0]
movups xmm0, xmmword [eax]
mov dword [edi + 0x20], eax
movups xmmword [edi + 0xc], xmm0
cmp byte [ebp - 0x3ac], 0
cmove ecx, dword [ebp - 0x4c0]
add ecx, 4
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476390
push 0x40
sub ecx, edx
push 0x1000
sar ecx, 1
shr ecx, 1
push 0x15
push 0
mov dword [ebp - 0xc00], ecx
mov byte [edi + 0x1c], cl
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp byte [ebp - 0x3ac], 0
lea ecx, [ebp - 0x4bc]
mov dword [ebp - 0xbe8], eax
cmove ecx, dword [ebp - 0x4c0]
add ecx, 4
mov dword [ebp - 0xbd8], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4763e1
sub ecx, edx
sar ecx, 1
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [ebp - 0xbf4], edx
cmp edx, 0x15
jg 0x476572
xor esi, esi
test edx, edx
jle 0x476572
mov edx, dword [ebp - 0xbd8]
movzx ecx, word [edx + esi*4]
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x47642a
sub cl, 0x30
jmp 0x476448
lea eax, [ecx - 0x61]
cmp ax, 5
ja 0x476438
sub cl, 0x57
jmp 0x476448
lea eax, [ecx - 0x41]
cmp ax, 5
ja 0x476572
sub cl, 0x37
movzx edx, word [edx + esi*4 + 2]
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x47645b
sub dl, 0x30
jmp 0x476479
lea eax, [edx - 0x61]
cmp ax, 5
ja 0x476469
sub dl, 0x57
jmp 0x476479
lea eax, [edx - 0x41]
cmp ax, 5
ja 0x476572
sub dl, 0x37
mov eax, dword [ebp - 0xbe8]
shl cl, 4
add cl, dl
mov edx, dword [ebp - 0xbf4]
mov byte [esi + eax], cl
inc esi
cmp esi, edx
jl 0x476412
test edx, edx
jle 0x476572
mov eax, dword [ebp - 0xbf0]
mov edx, 0x15
mov esi, dword [ebp - 0xbe8]
sub eax, esi
sub eax, 5
mov dword [ebp - 0xc07], 0
mov dword [ebp - 0xc07], eax
mov eax, dword [ebp - 0xc00]
movzx eax, al
sub edx, eax
mov byte [ebp - 0xc08], 0xe9
lea ecx, [eax + esi]
test ecx, ecx
jne 0x4764e6
call fcn.004a93fd
mov dword [eax], 0x16
jmp 0x476515
cmp edx, 5
jb 0x4764fe
mov eax, dword [ebp - 0xc08]
mov dword [ecx], eax
mov al, byte [ebp - 0xc04]
mov byte [ecx + 4], al
jmp 0x47651a
push edx
push 0
push ecx
call fcn.004a64e0
add esp, 0xc
call fcn.004a93fd
mov dword [eax], 0x22
call fcn.004a92f4
mov dword [edi + 0x24], esi
mov esi, dword [ebp - 0xbfc]
add esi, 0x84
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp ecx, eax
jne 0x47655f
test eax, eax
jne 0x476545
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x47654a
mov eax, 1
jmp 0x476553
lea eax, [ecx + ecx]
test eax, eax
js 0x476585
cmp eax, 0x1fffffff
ja 0x476585
push eax
mov ecx, esi
call fcn.0046c2d0
test eax, eax
je 0x476585
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x47656d
mov dword [eax], edi
inc dword [esi + 4]
jmp 0x476585
push 0x28
push edi
call fcn.004a3815
add esp, 8
xor edi, edi
mov dword [ebp - 0xbe0], edi
lea ecx, [ebp - 0xc4c]
mov byte [ebp - 4], 0x10
call fcn.004767d0
cmp byte [ebp - 0x3ac], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4765c0
mov eax, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x4bc]
cmp eax, ecx
je 0x4765c0
push eax
call fcn.004ac7ec
add esp, 4
cmp byte [ebp - 0x244], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4765ec
mov eax, dword [ebp - 0x358]
lea ecx, [ebp - 0x354]
cmp eax, ecx
je 0x4765ec
push eax
call fcn.004ac7ec
add esp, 4
cmp byte [ebp - 0x4d4], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x476618
mov eax, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x5e4]
cmp eax, ecx
je 0x476618
push eax
call fcn.004ac7ec
add esp, 4
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0xbe4]
test esi, esi
je 0x476670
mov edi, dword [ebp - 0xc60]
nop dword [eax]
push esi
mov esi, dword [esi + 4]
call edi
add esp, 4
test esi, esi
jne 0x476630
mov edi, dword [ebp - 0xbe0]
jmp 0x476670
lea ecx, [ebp - 0xc10]
call fcn.00464450
push 0x556b2c
push 0x558df8
push eax
call fcn.004623d0
add esp, 0xc
lea ecx, [ebp - 0xad8]
call fcn.00479c60
xor edi, edi
mov byte [ebp - 4], 0x12
cmp byte [ebp - 0x5fc], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4766a0
mov eax, dword [ebp - 0x710]
lea ecx, [ebp - 0x70c]
cmp eax, ecx
je 0x4766a0
push eax
call fcn.004ac7ec
add esp, 4
push 0x4790d0
push 2
push 0x20
lea eax, [ebp - 0x758]
push eax
call fcn.004a3854
cmp byte [ebp - 0x88c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4766e1
mov eax, dword [ebp - 0x9a0]
lea ecx, [ebp - 0x99c]
cmp eax, ecx
je 0x4766e1
push eax
call fcn.004ac7ec
add esp, 4
cmp byte [ebp - 0x764], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47670d
mov eax, dword [ebp - 0x878]
lea ecx, [ebp - 0x874]
cmp eax, ecx
je 0x47670d
push eax
call fcn.004ac7ec
add esp, 4
lea ecx, [ebp - 0xc10]
call fcn.004643f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc