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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov edi, ecx
push str.WESTRING_SAVING_MAPSCRIPT_ITEMDROPTABLES
xor edx, edx
xor ecx, ecx
call fcn.004d2740
mov ecx, dword [edi + 0x3c]
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0052d520
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jle 0x5d0d04
xor esi, esi
mov dword [ebp - 8], eax
lea esp, [esp]
mov ecx, dword [ebp - 0x14]
lea ecx, [esi + ecx + 0x68]
call fcn.005f6340
test eax, eax
je 0x5d0cec
cmp dword [ebp - 4], ebx
jne 0x5d0caf
push str.Map_Item_Tables
mov ecx, edi
call fcn.005bbcc0
mov ecx, edi
call fcn.005bc710
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + edx]
push eax
push str.ItemTable_06d_DropItems
lea ecx, [ebp - 0x1ac]
push 0x104
push ecx
call fcn.006c4a92
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [esi + edx + 0x68]
push eax
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, edi
call fcn.005d3e30
mov ecx, edi
call fcn.005bc710
mov eax, dword [ebp - 8]
add esi, 0x78
dec eax
mov dword [ebp - 8], eax
jne 0x5d0c80
cmp dword [ebp - 4], ebx
je 0x5d0d04
mov ecx, edi
call fcn.005bc710
mov edx, dword [edi + 0x3c]
mov esi, dword [edx + 0x38e8]
lea ecx, [ebp - 0x84]
mov dword [ebp - 8], esi
call fcn.0052dd20
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.0056c880
lea ecx, [ebp - 0x4c]
call fcn.0056cb20
mov eax, dword [esi + 0x5c]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0xc], eax
jle 0x5d0df2
mov dword [ebp - 4], esi
lea ebx, [ebx]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0xbc]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00556540
lea ecx, [ebp - 0x84]
call fcn.005f6340
test eax, eax
je 0x5d0dcd
test ebx, ebx
jne 0x5d0d97
push str.Unit_Item_Tables
mov ecx, edi
call fcn.005bbcc0
mov ecx, edi
call fcn.005bc710
mov ebx, 1
push esi
push str.Unit_06d_DropItems
lea ecx, [ebp - 0x1ac]
push 0x104
push ecx
call fcn.006c4a92
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x1ac]
push eax
mov ecx, edi
call fcn.005d3e30
mov ecx, edi
call fcn.005bc710
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc esi
add ecx, 0x188
cmp esi, eax
mov dword [ebp - 4], ecx
jl 0x5d0d50
test ebx, ebx
je 0x5d0df0
mov ecx, edi
call fcn.005bc710
xor esi, esi
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + 0x38e4]
mov ecx, dword [eax + 0x5c]
cmp ecx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], esi
jle 0x5d0f6d
mov dword [ebp - 8], esi
jmp 0x5d0e20
mov eax, dword [ebp - 0x20]
lea ebx, [ebx]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 8]
mov cx, word [eax + edx + 0xbc]
lea esi, [eax + edx + 0xbc]
mov word [ebp - 0xa8], cx
mov edx, dword [esi + 4]
mov dword [ebp - 0xa4], edx
mov eax, dword [esi + 8]
mov dword [ebp - 0xa0], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x9c], ecx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x98], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x94], eax
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x90], ecx
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x24]
mov dword [ebp - 0x8c], edx
mov eax, dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x88], eax
call fcn.00531e90
mov edx, dword [esi + 0x34]
mov dword [ebp - 0x74], edx
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x3c]
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
call fcn.0056c610
mov ecx, dword [ebx + 0xc]
lea edx, [esi + 0x4c]
mov dword [ebp - 0x60], ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00531d50
lea eax, [esi + 0x5c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00531de0
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x28], edx
call fcn.005f6340
test eax, eax
je 0x5d0f41
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5d0f08
push str.Destructible_Item_Tables
mov ecx, edi
call fcn.005bbcc0
mov ecx, edi
call fcn.005bc710
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc]
push eax
push str.Doodad_06d_DropItems
lea ecx, [ebp - 0x1ac]
push 0x104
push ecx
call fcn.006c4a92
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x1ac]
push eax
mov ecx, edi
call fcn.005d3e30
mov ecx, edi
call fcn.005bc710
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
inc eax
add edx, 0x188
cmp eax, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jl 0x5d0e17
mov eax, dword [ebp - 4]
test eax, eax
je 0x5d0f6d
mov ecx, edi
call fcn.005bc710
lea ecx, [ebp - 0x3c]
call fcn.004e1f90
lea ecx, [ebp - 0x5c]
call fcn.00531a00
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x5d0f93
push 0
push 0xfffffffffffffffe
push str.._AUInvSlotInfo__
push eax
call fcn.006c4a80
mov eax, dword [ebp - 0x80]
xor edi, edi
test eax, eax
jbe 0x5d0fb5
xor esi, esi
mov edi, edi
mov ecx, dword [ebp - 0x7c]
add ecx, esi
call fcn.004e1f90
mov eax, dword [ebp - 0x80]
inc edi
add esi, 0x10
cmp edi, eax
jb 0x5d0fa0
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x5d0fcb
push 0
push 0xfffffffffffffffe
push str.._AV__TSGrowableArray_UObjectChance____
push eax
call fcn.006c4a80
mov eax, dword [ebp - 0x18]
xor edi, edi
test eax, eax
jbe 0x5d0fed
xor esi, esi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + edx + 0x68]
call fcn.004e2f50
mov eax, dword [ebp - 0x18]
inc edi
add esi, 0x78
cmp edi, eax
jb 0x5d0fd6
mov eax, dword [ebp - 0x14]
test eax, eax
pop edi
pop esi
pop ebx
je 0x5d1006
push 0
push 0xfffffffffffffffe
push str.._AUWEItemTable__
push eax
call fcn.006c4a80
mov esp, ebp
pop ebp
ret