Function at 0x4ad4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x1313960]
sub esp, 0x104
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x4ad4df
call fcn.004afb10
call fcn.004af7d0
mov eax, dword [esp + 0x118]
push 0x1313964
push eax
call fcn.004644b0
mov edi, 0x1313964
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [0x561af0]
repne scasb al, byte es:[edi]
mov ecx, dword [str..dcl]
dec edi
push 1
lea eax, [esp + 0x1c]
mov dword [edi], ecx
push 1
push eax
push 0x1313964
mov byte [edi + 4], dl
call dword [0x1313c90]
add esp, 0x18
test eax, eax
jg 0x4ad549
push 0x1313964
push str.R_LevelMarksLoad:__s_not_found_n
push ebx
call dword [0x1313c40]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push 0x14
push edx
mov dword [0x1313960], 1
call dword [0x1313c94]
mov eax, dword [0xd8b4c0]
add esp, 0xc
cmp eax, ebx
je 0x4ad58a
xor esi, esi
mov eax, dword [esp + esi*4 + 0x20]
push eax
call fcn.00464780
add esp, 4
mov dword [esp + esi*4 + 0x20], eax
inc esi
cmp esi, 5
jb 0x4ad573
cmp dword [esp + 0x20], 0x204c4344
je 0x4ad5be
push 0x1313964
push str.R_LevelMarksLoad:__s_Seems_to_be_an_invalid_DCL_file_n
push ebx
call dword [0x1313c40]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x1313c98]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x4ad5f9
cmp eax, 2
je 0x4ad603
push 2
push eax
push 0x1313964
push str.R_LevelMarksLoad:__s_is_wrong_version___i_should_be__i__n
push ebx
call dword [0x1313c40]
mov edx, dword [esp + 0x24]
push edx
call dword [0x1313c98]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov byte [esp + 0xb0], 0
jmp 0x4ad623
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
push eax
push 0x20
push ecx
mov byte [esp + 0xdc], 0
call dword [0x1313c94]
add esp, 0xc
push 0x1313964
push str.____________Loading_DCL_file__s___________n
push ebx
call dword [0x1313c40]
mov edx, dword [0x1313930]
add esp, 0xc
cmp dword [edx + 0x20], ebx
je 0x4ad9cb
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x4adcfe
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push 0x7c
push ecx
call dword [0x1313c94]
mov eax, dword [0xd8b4c0]
add esp, 0xc
cmp eax, ebx
je 0x4ad79e
mov edx, dword [esp + 0x74]
push edx
call fcn.00464800
mov eax, dword [esp + 0x7c]
fstp dword [esp + 0x78]
push eax
call fcn.00464800
mov ecx, dword [esp + 0x84]
fstp dword [esp + 0x80]
push ecx
call fcn.00464800
mov edx, dword [esp + 0x8c]
fstp dword [esp + 0x88]
push edx
call fcn.00464800
mov eax, dword [esp + 0x94]
fstp dword [esp + 0x90]
push eax
call fcn.00464800
mov ecx, dword [esp + 0x9c]
fstp dword [esp + 0x98]
push ecx
call fcn.00464800
mov edx, dword [esp + 0xa4]
fstp dword [esp + 0xa0]
push edx
call fcn.00464800
mov eax, dword [esp + 0xac]
fstp dword [esp + 0xa8]
push eax
call fcn.00464800
mov ecx, dword [esp + 0xb4]
fstp dword [esp + 0xb0]
push ecx
call fcn.00464800
mov edx, dword [esp + 0xbc]
fstp dword [esp + 0xb8]
push edx
call fcn.00464800
mov eax, dword [esp + 0xc4]
fstp dword [esp + 0xc0]
push eax
call fcn.00464800
mov ecx, dword [esp + 0xcc]
fstp dword [esp + 0xc8]
push ecx
call fcn.00464800
mov edx, dword [esp + 0xd4]
fstp dword [esp + 0xd0]
push edx
call fcn.00464800
mov eax, dword [esp + 0xdc]
fstp dword [esp + 0xd8]
push eax
call fcn.00464800
mov ecx, dword [esp + 0xe4]
fstp dword [esp + 0xe0]
push ecx
call fcn.00464780
add esp, 0x3c
mov dword [esp + 0xac], eax
mov esi, dword [0x1313af0]
cmp esi, ebx
jne 0x4ad7e3
push 0x4000
call dword [0x1313c54]
add esp, 4
cmp eax, ebx
je 0x4adcfe
mov dword [0x1313af0], eax
mov ecx, eax
mov esi, 0x7f
lea edx, [ecx + 0x80]
dec esi
mov dword [ecx], edx
mov ecx, edx
jne 0x4ad7ca
mov dword [eax + 0x3f80], ebx
mov esi, dword [0x1313af0]
mov edx, dword [esi]
mov eax, dword [0x1313a70]
mov dword [0x1313af0], edx
mov dword [esi], eax
mov dword [esi + 4], 0x1313a70
mov ecx, dword [0x1313a70]
mov eax, 0x3f800000
lea edi, [esi + 0xc]
mov dword [ecx + 4], esi
mov edx, dword [0x1313d9c]
mov dword [0x1313a70], esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ebp, [esi + 0x18]
lea eax, [esp + 0x34]
mov dword [esi + 8], edx
push eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [edi], ebx
mov dword [ebp], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0xbf800000
mov dword [esi + 0x24], 0x41000000
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
call fcn.004ab6c0
add esp, 4
cmp eax, ebx
jne 0x4ad885
lea ecx, [esp + 0x34]
push ecx
push str.Bad_decal_shader__s_n
push ebx
call dword [0x1313c40]
mov edx, dword [0x1313d9c]
add esp, 0xc
mov dword [esi + 8], edx
jmp 0x4ad891
push eax
call fcn.004ab8a0
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [edi], eax
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x80]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x84]
mov dword [ebp], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x94]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x34], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x38], edx
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x40], ecx
mov edx, dword [esp + 0xb0]
push 1
push 1
push ebp
mov dword [esi + 0x44], edx
push edi
mov dword [0x1313af4], esi
call fcn.004ae0e0
add esp, 0x14
test eax, eax
jne 0x4ad9b1
mov esi, dword [0x1313af4]
cmp esi, ebx
je 0x4ad9b1
push esi
call fcn.004addc0
mov eax, dword [esi]
add esp, 4
cmp eax, 0x1313a70
mov dword [0x1313af4], eax
jne 0x4ad96f
mov eax, dword [esi + 4]
cmp eax, 0x1313a70
mov dword [0x1313af4], eax
jne 0x4ad96f
mov dword [0x1313af4], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [0x1313af0]
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov edx, dword [0x1313bac]
mov dword [0x1313af0], esi
cmp dword [edx + 0x20], ebx
je 0x4ad9ab
mov dword [0x1313a68], 1
call fcn.004af330
jmp 0x4ad9b1
mov dword [0x1313a68], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4ad656
jmp 0x4adcfe
mov eax, dword [0x1313d9c]
mov ecx, 0xf
mov dword [esp + 0x18], eax
xor eax, eax
lea edi, [esp + 0xd5]
mov byte [esp + 0xd4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [0x1313ccc]
cmp byte [eax], 0
je 0x4add28
lea esi, [esp + 0xb0]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ada29
test cl, cl
je 0x4ada25
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ada29
add eax, 2
add esi, 2
test cl, cl
jne 0x4ada05
xor eax, eax
jmp 0x4ada2e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4add28
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x4ada48
mov eax, dword [esp + 0x10]
push eax
jmp 0x4add03
mov edx, dword [esp + 0x10]
mov ecx, eax
shl ecx, 5
sub ecx, eax
push ebx
shl ecx, 2
push ecx
push edx
call dword [0x1313c9c]
mov eax, dword [esp + 0x3c]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call dword [0x1313c54]
mov dword [0x1313a64], eax
mov eax, dword [esp + 0x40]
add esp, 0x10
xor ebp, ebp
cmp eax, ebx
jle 0x4adb99
xor edi, edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push 0x4c
push edx
call dword [0x1313c94]
mov eax, dword [0xd8b4c0]
add esp, 0xc
cmp eax, ebx
je 0x4adad9
mov eax, dword [esp + 0x74]
push eax
call fcn.00464780
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
push ecx
call fcn.00464780
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], eax
push edx
call fcn.00464780
add esp, 0xc
mov dword [esp + 0x7c], eax
mov eax, dword [0x1313a64]
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x34]
push ecx
push edx
lea esi, [eax + edi]
call fcn.004655b0
add esp, 8
test eax, eax
je 0x4adb3d
lea eax, [esp + 0x34]
push eax
call fcn.004ab6c0
add esp, 4
cmp eax, ebx
jne 0x4adb1e
mov ecx, dword [0x1313d9c]
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ecx
mov dword [esi], ebx
mov dword [esi + 8], ebx
jmp 0x4adb89
push eax
call fcn.004ab8a0
add esp, 4
mov dword [esp + 0x18], eax
xor eax, eax
mov cl, byte [esp + eax + 0x34]
mov byte [esp + eax + 0xd4], cl
inc eax
test cl, cl
jne 0x4adb2d
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x78]
mov dword [esi + 4], eax
mov dword [esi], 4
mov ecx, dword [esp + 0x7c]
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x7c]
lea edx, [eax + eax*2]
shl edx, 3
push edx
call dword [0x1313c54]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [ecx + ecx*2]
shl edx, 3
push edx
push eax
call dword [0x1313c94]
add esp, 0x10
mov eax, dword [esp + 0x30]
inc ebp
add edi, 0x18
cmp ebp, eax
jl 0x4ada88
mov eax, dword [0x1313d40]
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x8c], ebx
jle 0x4adc51
mov dword [esp + 0x18], ebx
mov esi, dword [eax + 0x90]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add esi, edx
push eax
push 4
lea ebp, [esi + 0x24]
push ebp
call dword [0x1313c94]
mov eax, dword [ebp]
add esp, 0xc
cmp eax, ebx
je 0x4adc2a
lea ecx, [eax*4]
push ecx
call dword [0x1313c54]
mov dword [esi + 0x20], eax
mov eax, dword [ebp]
add esp, 4
xor edi, edi
cmp eax, ebx
jle 0x4adc2a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push 4
push eax
call dword [0x1313c94]
mov eax, dword [esp + 0x28]
mov edx, dword [0x1313a64]
add esp, 0xc
inc edi
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8]
mov ecx, dword [esi + 0x20]
mov dword [ecx + edi*4 - 4], eax
mov eax, dword [ebp]
cmp edi, eax
jl 0x4adbf6
mov eax, dword [0x1313d40]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc ecx
mov edx, dword [eax + 0x8c]
add esi, 0x30
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
jl 0x4adbb2
mov edi, dword [eax + 0xa0]
mov ecx, dword [eax + 0x9c]
cmp edi, ecx
mov dword [esp + 0x14], edi
jge 0x4adcfe
lea ebx, [edi + edi*2]
shl ebx, 5
mov esi, dword [eax + 0xa4]
mov edx, dword [esp + 0x10]
add esi, ebx
push edx
push 4
lea ebp, [esi + 0x5c]
push ebp
call dword [0x1313c94]
mov eax, dword [ebp]
add esp, 0xc
test eax, eax
je 0x4adce3
shl eax, 2
push eax
call dword [0x1313c54]
mov dword [esi + 0x58], eax
mov eax, dword [ebp]
add esp, 4
xor edi, edi
test eax, eax
jle 0x4adcdf
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push 4
push edx
call dword [0x1313c94]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x1313a64]
add esp, 0xc
inc edi
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
mov eax, dword [esi + 0x58]
mov dword [eax + edi*4 - 4], edx
mov eax, dword [ebp]
cmp edi, eax
jl 0x4adcab
mov edi, dword [esp + 0x14]
mov eax, dword [0x1313d40]
inc edi
add ebx, 0x60
mov dword [esp + 0x14], edi
cmp edi, dword [eax + 0x9c]
jl 0x4adc6f
xor ebx, ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1313c98]
push 0x1313964
push str._______Finished_loading_DCL_file__s_______n
push ebx
call dword [0x1313c40]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push str.____BSP_file_is_newer_than_DCL_file._n
push ebx
call dword [0x1313c40]
push str.____The_DCL_file_needs_to_be_updated._n
push ebx
call dword [0x1313c40]
mov edx, dword [esp + 0x20]
push edx
call dword [0x1313c98]
push 0x1313964
push str._______Finished_loading_DCL_file__s_______n
push ebx
call dword [0x1313c40]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret