Function at 0x484c50
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 8]
mov ecx, 0x18
mov dword [esp + 0x38], eax
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x54], ebx
mov cx, word [ecx]
cmp cx, 0x40
jle 0x484c9f
push 0x40
push str.at_most__d_tables_in_a_join
push ebx
call fcn.004603a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
and eax, 0x40
test ax, ax
mov dword [esp + 0x20], eax
je 0x484cb8
mov dword [esp + 0x10], 1
jmp 0x484cbf
movsx edx, cx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edi, [eax*8 + 0x3f]
and edi, 0xfffffff8
lea edx, [edi + 0x26c]
push edx
push ecx
call fcn.00445290
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0xc], esi
mov cl, byte [eax + 0x38]
test cl, cl
je 0x484d0d
push esi
push eax
call fcn.00440110
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov dword [esi + 0x1c], eax
mov dword [esi], ebx
mov dword [esi + 4], ecx
call fcn.0046d7e0
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [esi + edi]
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esi + 0x20], eax
mov word [esi + 0xa], dx
mov eax, dword [ebx + 0x1b8]
mov dword [esi + 0x28], eax
mov ecx, dword [ebx + 0x1bc]
mov dword [esi + 0x2c], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
add eax, 0x168
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x88], eax
test byte [ecx + 0x34], 0x20
je 0x484d7b
mov dword [ebp + 0x18], 0
mov edi, dword [esp + 0x2c]
mov ecx, 0x41
xor eax, eax
push edx
mov edx, dword [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
push edx
push ebx
push eax
call fcn.004857e0
mov edi, dword [ebp + 0x10]
push edi
push ebx
call fcn.004855a0
mov ecx, dword [esp + 0x70]
push 0x45
push edi
push ecx
call fcn.00485820
add esp, 0x24
test edi, edi
je 0x484ddc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x484dcc
push edi
call fcn.00485590
add esp, 4
test eax, eax
je 0x484ddc
mov edx, dword [esi + 0x18]
push 8
push edx
push edi
push ebx
call fcn.0046fcc0
add esp, 0x10
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp word [esi], di
jle 0x484e37
lea ebx, [esi + 0x18]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00485990
mov eax, dword [ebx]
add esp, 8
test eax, eax
je 0x484e2c
test byte [eax + 0x2a], 0x10
je 0x484e2c
mov edx, dword [esp + 0x58]
mov ecx, edi
mov eax, 1
lea esi, [edx + 8]
xor edx, edx
call fcn.004b1600
mov ecx, dword [esi]
or ecx, eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
or eax, edx
mov dword [esi + 4], eax
mov esi, dword [ebp + 0xc]
movsx eax, word [esi]
inc edi
add ebx, 0x48
cmp edi, eax
jl 0x484de9
mov ecx, dword [esp + 0x58]
push ecx
push esi
call fcn.004859b0
mov edx, dword [esp + 0x24]
add esp, 8
mov al, byte [edx + 0x38]
test al, al
jne 0x485288
mov esi, dword [ebp + 0x18]
xor ebx, ebx
cmp esi, ebx
je 0x484e81
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push eax
push ecx
push edx
call fcn.00486af0
add esp, 0x10
test eax, eax
je 0x484e81
mov eax, dword [esp + 0xc]
xor esi, esi
mov byte [eax + 0xe], 1
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
cmp eax, ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x28], edi
jle 0x485248
dec eax
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xb8]
or ebx, 0xffffffff
rep stosd dword es:[edi], eax
xor ecx, ecx
cmp esi, edx
setl al
cmp eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xd0], 0xa2879f2e
mov dword [esp + 0xd4], 0x547d42ae
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], eax
jl 0x48512f
test ebx, ebx
jge 0x48512f
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + ebx*8]
lea ecx, [ecx + eax*8 + 8]
mov eax, dword [esp + 0x10]
cmp ebx, eax
mov dword [esp + 0x5c], ecx
jge 0x48511c
mov eax, ebx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0xc]
lea eax, [edx + eax*8 + 0x80]
mov dword [esp + 0x30], eax
mov al, byte [ecx + 0x20]
mov edx, dword [esp + 0x18]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp ebx, edx
mov dword [esp + 0xb4], eax
je 0x484f79
test eax, eax
jne 0x48511c
mov ecx, dword [ecx + 0x2c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00485950
mov edi, edx
mov edx, dword [esp + 0x74]
mov ecx, edi
mov esi, eax
and ecx, dword [esp + 0x78]
and eax, edx
add esp, 8
or eax, ecx
jne 0x484fb4
mov eax, dword [esp + 0x18]
cmp ebx, eax
jne 0x4850f9
inc eax
mov dword [esp + 0x18], eax
jmp 0x4850f9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x484fc6
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
jmp 0x484fd2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x484fe1
inc dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
test byte [ecx + 0x2a], 0x10
je 0x485004
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x54]
add edx, 8
push eax
mov dword [esp + 0x80], edx
call fcn.004871e0
jmp 0x48500e
lea ecx, [esp + 0x54]
push ecx
call fcn.00487930
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x485053
test dword [esp + 0x8c], 0x100f3000
jne 0x48503a
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
or ecx, esi
or eax, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x485073
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
cmp eax, edx
jge 0x485073
mov eax, dword [esp + 0x30]
fld qword [esp + 0xa4]
fdiv qword [eax]
fstp qword [esp + 0xa4]
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0x70]
and eax, edi
and ecx, esi
or eax, ecx
jne 0x4850ee
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4850b1
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x4850b1
test dword [esp + 0x8c], 0x100f3000
je 0x4850ee
mov eax, dword [esp + 0x34]
test eax, eax
jl 0x4850d5
lea edx, [esp + 0xb8]
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.00485790
add esp, 8
test eax, eax
je 0x4850ee
mov ecx, 0xa
lea esi, [esp + 0x8c]
lea edi, [esp + 0xb8]
mov dword [esp + 0x34], ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x48511c
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
inc ebx
add esi, 0x58
add ecx, 0x48
cmp ebx, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x5c], ecx
jl 0x484f57
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
dec eax
mov dword [esp + 0x14], eax
jns 0x484f1a
mov eax, dword [esp + 0xb8]
test eax, 0x40000000
je 0x485145
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0xe], 2
mov edx, dword [esp + 0x44]
mov ecx, 6
and edx, eax
lea esi, [esp + 0xb8]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
lea ecx, [ebx + ebx*8]
test eax, 0x200f0000
lea esi, [esi + ecx*8]
mov ecx, dword [esi + 0x34]
mov dword [edx + 0x1c], ecx
je 0x4851a2
cmp word [esp + 0x20], 0
je 0x485190
test eax, 0x20000000
jne 0x485190
mov eax, dword [ebp + 0x20]
mov dword [edx + 0x20], eax
jmp 0x4851a9
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x48]
mov dword [edx + 0x20], ecx
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
jmp 0x4851ac
mov dword [edx + 0x20], 0xffffffff
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00485950
mov ecx, dword [esp + 0x74]
add esp, 8
fld qword [esp + 0xc0]
fcomp qword [0x4f2198]
not eax
and ecx, eax
mov eax, dword [esp + 0x70]
not edx
and eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov cl, byte [esp + 0x34]
fnstsw ax
mov byte [edx + 0x34], cl
test ah, 1
jne 0x485207
fld qword [esp + 0xc0]
fmul qword [edi + 0x1b8]
fstp qword [edi + 0x1b8]
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x48521b
test dword [esp + 0xb8], 0xf0000
je 0x485277
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
inc eax
add edx, 0x58
cmp eax, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], edx
jl 0x484ec6
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
test eax, eax
jne 0x485288
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 0x38]
test cl, cl
jne 0x485288
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4852bc
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov ax, word [ecx - 0x52]
mov word [esi + 8], ax
jmp 0x4852c6
mov eax, dword [esi]
push eax
push str.cannot_use_index:__s
push edi
call fcn.004603a0
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4852b3
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x28]
push eax
mov dword [ecx + 0x1b8], edx
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x1bc], edx
push eax
call fcn.0048a2f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
mov word [esi + 8], 0
mov eax, dword [esp + 0x44]
and eax, 0x2000000
je 0x4852dc
test edx, edx
je 0x4852dc
mov cx, word [edx]
mov word [esi + 8], cx
test byte [ebp + 0x1c], 4
je 0x4852f3
test eax, eax
je 0x4852f3
mov eax, dword [edi]
mov byte [esi + 0xc], 1
and eax, 0xffbfffff
mov dword [edi], eax
mov edx, dword [ebp + 8]
or ebx, 0xffffffff
push ebx
push edx
call fcn.00475e00
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x3ff00000
test eax, eax
mov ebx, edi
jle 0x4854fe
mov dword [esp + 0x3c], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [ebx + 0x34]
fld qword [ebx + 8]
lea eax, [eax + eax*8]
mov esi, dword [ecx + eax*8 + 0x18]
lea edi, [ecx + eax*8 + 8]
mov eax, dword [esp + 0xc]
fmul qword [eax + 0x30]
fstp qword [eax + 0x30]
mov edx, dword [esi + 0x40]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00466870
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0x2a]
add esp, 8
test al, 2
jne 0x485453
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x485453
mov ecx, dword [ebx]
test ecx, 0x8000000
je 0x4853ad
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.004681c0
mov edx, dword [edi + 0x2c]
push 0xfffffffffffffff6
push eax
mov eax, dword [esp + 0x48]
push 0
push 0
push edx
push 0x87
push eax
call fcn.0046c350
add esp, 0x24
jmp 0x485453
test al, 0x10
jne 0x485453
test ecx, 0x400000
jne 0x485439
test byte [ebp + 0x1c], 0x10
jne 0x485439
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov al, byte [edx + 0xc]
mov edx, dword [ebp + 8]
test al, al
mov eax, dword [esp + 0x14]
setne cl
add ecx, 0x27
push ecx
mov ecx, dword [edi + 0x2c]
push esi
push eax
push ecx
push edx
call fcn.00478590
mov eax, dword [esp + 0x20]
add esp, 0x14
mov cl, byte [eax + 0xc]
test cl, cl
jne 0x485453
cmp word [esi + 0x26], 0x40
jge 0x485453
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov ecx, eax
xor esi, esi
or ecx, edx
je 0x48541c
mov ecx, 1
call fcn.004b15e0
mov ecx, eax
inc esi
or ecx, edx
jne 0x48540b
push 0xfffffffffffffff2
push esi
mov esi, dword [esp + 0x40]
push esi
call fcn.0046d850
add esp, 4
dec eax
push eax
push esi
call fcn.00460610
add esp, 0x10
jmp 0x485453
mov edx, dword [esi]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 8]
push 0
push eax
push ecx
push edx
call fcn.00472780
add esp, 0x14
mov eax, dword [ebx]
test eax, 0x20000000
je 0x48547b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push ebx
push eax
mov eax, dword [ebp + 8]
push ecx
push edi
push edx
push eax
call fcn.00486dd0
add esp, 0x18
jmp 0x4854ae
test eax, 0xf0000
je 0x4854ae
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.00476210
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
push 0xfffffffffffffff0
push eax
mov eax, dword [esi + 0x28]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push 0x27
push edx
call fcn.0046c350
add esp, 0x24
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00475e00
mov eax, dword [esp + 0x60]
mov edx, dword [edi + 0x2c]
push edx
mov ecx, dword [eax + 4]
push ecx
call fcn.00485950
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
not eax
not edx
and edi, eax
mov eax, dword [esp + 0x4c]
add esp, 0x10
and esi, edx
add ebx, 0x58
dec eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], eax
jne 0x48532b
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
push edx
call fcn.0046d850
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
add esp, 4
mov cl, byte [eax + 0x38]
test cl, cl
jne 0x485288
mov eax, dword [esp + 0x10]
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x24], ebx
test eax, eax
jle 0x485584
mov ecx, dword [esp + 0xc]
lea edi, [ecx + 0x64]
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov al, byte [edi + 8]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
lea ecx, [edi - 0x2c]
push esi
push ecx
push edx
push eax
call fcn.00488a50
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x24]
push ecx
push ebx
push edx
push esi
push eax
call fcn.00488e50
mov ecx, dword [edi]
add esp, 0x2c
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xc]
inc esi
add edi, 0x58
cmp esi, eax
mov dword [edx + 0x14], ecx
jl 0x485535
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret