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

Disassembly:
sub esp, 0x238
mov eax, dword [0x721bb0]
fild dword [0x720d8c]
push ebx
push ebp
mov dword [esp + 0x23c], eax
fstp dword [esp + 0x10]
push esi
mov esi, ecx
push edi
xor eax, eax
xor ecx, ecx
lea edi, [esi + 0xac]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], ecx
xor edx, edx
mov dword [edi + 8], edx
lea edi, [esi + 0xd0]
mov dword [edi], eax
mov dword [edi + 4], ecx
lea ebp, [esi + 0xf4]
mov dword [edi + 8], edx
mov edi, eax
mov dword [ebp], ecx
xor ebx, ebx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edi
mov ecx, eax
lea edi, [esi + 0x118]
mov dword [edi], eax
mov eax, 0x40a00000
mov dword [esi + 0xe4], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], eax
mov eax, 0xccccddf0
mov dword [edi + 4], edx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0x100], eax
mov dword [esi + 0x124], eax
mov dword [edi + 8], ecx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x128], ebx
xor eax, eax
jmp 0x5fd330
mov cl, byte [eax + 0x71e2b0]
mov byte [eax + 0x10712a0], cl
inc eax
cmp cl, bl
jne 0x5fd330
cmp byte [0x149a3d4], bl
jne 0x5fd74b
mov ecx, dword [0x71c798]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
mov eax, 0x14923a4
mov byte [0x149a3d4], 1
mov dword [0x148de64], ebx
add ecx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
fild dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov edx, 0x20
fstp dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
fild dword [esp + 0x14]
mov ebp, 0x3dcccccd
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x14]
fstp dword [eax]
mov dword [eax - 4], edi
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
add ebp, ecx
add eax, 0x400
dec edx
mov dword [esp + 0x14], ebp
jne 0x5fd395
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
add eax, 0x20
add ebp, ecx
cmp eax, 0x14927a4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
jl 0x5fd380
mov eax, 0x148b058
mov dword [esp + 0x14], ebx
xor edx, edx
mov edi, dword [esp + 0x14]
mov ecx, edx
shl ecx, 5
add ecx, edi
mov word [eax], cx
add eax, 2
add eax, 2
lea edi, [ecx + 0x20]
mov word [eax - 2], di
lea ebp, [ecx + 1]
mov word [eax], bp
add eax, 2
mov word [eax], bp
add eax, 2
mov word [eax], di
add eax, 2
add ecx, 0x21
mov word [eax], cx
add eax, 2
inc edx
cmp edx, 0x1f
jl 0x5fd3f2
mov ecx, dword [esp + 0x14]
inc ecx
cmp ecx, 0x1f
mov dword [esp + 0x14], ecx
jl 0x5fd3f0
cmp dword [0x1209e3c], ebx
je 0x5fd74b
xor ebp, ebp
mov edi, 0x148dd68
push ebp
lea edx, [esp + 0x48]
push str.water_4d_bump.dds
push edx
call fcn.006935d4
lea eax, [esp + 0x50]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5fd470
sub eax, edx
xor ecx, ecx
cmp eax, ebx
jle 0x5fd491
nop
cmp byte [esp + ecx + 0x44], 0x20
jne 0x5fd48c
mov byte [esp + ecx + 0x44], 0x30
inc ecx
cmp ecx, eax
jl 0x5fd480
lea eax, [esp + 0x44]
push eax
push 0x71e2b0
lea ecx, [esp + 0x14c]
push str._s_s
push ecx
call fcn.006935d4
add esp, 0x10
push edi
push ebx
mov eax, dword [0x1070af4]
push ebx
push ebx
push 3
push 3
push 1
push 0x5348564e
push ebx
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x174]
push edx
push eax
call fcn.0052f8d2
add edi, 4
inc ebp
cmp edi, 0x148de64
jl 0x5fd452
push 0x6ef488
push 0x71e2b0
lea ecx, [esp + 0x14c]
push str._s_s
push ecx
call fcn.006935d4
add esp, 0x10
push 0x148de70
mov eax, dword [0x1070af4]
push ebx
push ebx
push ebx
push 3
push 3
push 1
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea edx, [esp + 0x170]
push edx
push eax
call fcn.0052f965
mov eax, dword [0x1070af4]
push 0x148de74
push 1
push ebx
push 8
push 0x140
mov dword [esp + 0x34], 0x20000000
mov dword [esp + 0x38], 0x40020000
mov dword [esp + 0x3c], 0x40020001
mov dword [esp + 0x40], 0x40020002
mov dword [esp + 0x44], 0x40010003
mov dword [esp + 0x48], 0x40020005
mov dword [esp + 0x4c], 0x40020006
mov dword [esp + 0x50], 0x40020004
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov eax, dword [0x148de74]
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push eax
call dword [edx + 0x2c]
fild dword [0x720d8c]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [edx], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov edx, dword [esp + 0x10]
add edx, 0x50
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov edi, dword [esp + 0x10]
add edi, 0xa0
mov dword [edi], ecx
mov dword [edi + 4], ebx
mov edx, eax
mov dword [edi + 8], edx
mov edx, dword [esp + 0x10]
add edx, 0xf0
mov dword [edx], eax
mov dword [edx + 4], ebx
mov ecx, eax
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x10]
xor eax, eax
add edx, 0xc
mov ecx, 0x3f800000
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov edx, dword [esp + 0x10]
add edx, 0x5c
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov edx, dword [esp + 0x10]
add edx, 0xac
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov edx, dword [esp + 0x10]
add edx, 0xfc
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x24], ebx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x28], ebx
mov edx, dword [esp + 0x10]
mov eax, 0x422c0000
mov dword [edx + 0x74], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x78], ebx
mov edx, dword [esp + 0x10]
mov dword [edx + 0xc4], ebx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc8], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x114], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x118], eax
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.005fc790
mov eax, dword [0x148de74]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, 0x720d38
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5fd6b0
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
sub eax, esi
push eax
push 0x720d38
call fcn.0052e237
mov eax, dword [esp + 0x14]
mov esi, dword [0x1070af4]
mov ecx, dword [eax]
mov edi, dword [esi]
push 0x720a6c
push eax
call dword [ecx + 0xc]
push eax
push esi
call dword [edi + 0x15c]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x720a70
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5fd700
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
sub eax, esi
push eax
push 0x720a70
call fcn.0052e237
mov eax, dword [esp + 0x14]
mov esi, dword [0x1070af4]
mov edx, dword [eax]
mov edi, dword [esi]
push ebx
push 0x720a68
push eax
call dword [edx + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [edi + 0x12c]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00692fc7
add esp, 0x238
ret