Function at 0x5291f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x102c
call fcn.00545c90
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edi
movzx ebx, word [edi + 6]
lea esi, [edi + 8]
mov edx, esi
mov ecx, ebx
call fcn.0051f8f0
test al, al
jne 0x529263
push esi
push ebx
push str._DGWarehouseItemRecv__Invalid_Account___d___s_
push 1
call fcn.005262e0
movzx eax, word [edi + 6]
add esp, 0x10
mov ecx, 0xbf3318
push eax
call fcn.00519530
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebx*4 + 0x20a514c]
push 0xf0
push 0xff
push dword [ebx + 0x3bc]
call fcn.0052bd20
xor esi, esi
xor edx, edx
add esp, 0xc
mov dword [esp + 0x10], esi
add edi, 0x13
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x30]
call fcn.00493c10
mov ecx, dword [ebx + 0x3b8]
add ecx, edx
call fcn.00493c10
push edi
lea eax, [esp + 0x34]
push eax
call fcn.0049f090
test al, al
je 0x5292e0
push esi
sub esp, 0x10c
lea esi, [esp + 0x140]
mov edi, esp
mov ecx, 0x43
rep movsd dword es:[edi], dword [esi]
push dword [ebx]
call fcn.0049ea60
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc esi
add edx, 0x10c
mov dword [esp + 0x10], esi
add edi, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
cmp edx, 0xfb40
jl 0x529295
mov ecx, dword [esp + 0x1c]
push 0xb
mov dword [esp + 0x24], 0x2300bc3
mov eax, dword [ecx + 0xf14]
mov dword [ebx + 0x3c8], eax
mov ax, word [ecx + 0xf18]
mov word [ebx + 0x3c2], ax
lea eax, [esp + 0x24]
push eax
push dword [ebx]
call fcn.005192f0
xor cl, cl
mov eax, 6
mov dword [esp + 0x10], eax
lea eax, [esp + 0x36]
mov byte [esp + 0xf], cl
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor edx, edx
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov esi, dword [ebx + 0x3b8]
add esi, edx
movzx eax, word [esi + 4]
mov edi, eax
test ax, ax
js 0x5293d8
mov eax, 0x2000
cmp di, ax
jge 0x5293d8
sub esp, 0x10c
mov byte [esp + 0x12c], cl
mov edi, esp
lea eax, [esp + 0x12d]
mov ecx, 0x43
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0049ee40
mov ecx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov al, byte [esp + 0x2c]
mov byte [ecx + 0xc], al
add ecx, 0xd
mov eax, dword [esp + 0x10]
add eax, 0xd
mov dword [esp + 0x18], ecx
inc byte [esp + 0xf]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x5293dc
mov eax, dword [esp + 0x10]
inc ecx
add edx, 0x10c
mov dword [esp + 0x14], ecx
cmp edx, 0xfb40
jl 0x529360
mov cl, byte [esp + 0xf]
shr eax, 8
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x10]
push eax
mov byte [esp + 0x36], al
lea eax, [esp + 0x34]
push eax
push dword [ebx]
mov byte [esp + 0x3c], 0xc2
mov word [esp + 0x3f], 0x31
mov byte [esp + 0x41], cl
call fcn.005192f0
mov eax, dword [ebx + 0x3c8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push 0xc
push eax
push dword [ebx]
mov dword [esp + 0x2c], 0x1810cc1
call fcn.005192f0
cmp word [ebx + 0x3c2], 0
jle 0x52946d
cmp byte [ebx + 0x3c4], 0
mov eax, 1
mov ecx, 0xc
cmove eax, ecx
jmp 0x52946f
xor eax, eax
mov byte [esp + 0x13], al
lea eax, [esp + 0x10]
push 4
push eax
push dword [ebx]
mov word [esp + 0x1c], 0x4c1
mov byte [esp + 0x1e], 0x83
call fcn.005192f0
mov eax, dword [ebx + 0x384]
mov ecx, dword [esp + 0x1c]
and eax, 0xffff0185
or eax, 0x185
mov dword [ebx + 0x59c], 1
mov dword [ebx + 0x384], eax
mov eax, dword [ebx + 0x640]
mov ecx, dword [ecx + 0xf1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x644]
mov dword [ebx + 0x5a4], ecx
push 0x10
mov dword [esp + 0x24], 0xd5fb10c1
mov eax, dword [eax*4 + 0xbdbc60]
cmp ecx, eax
cmovl ecx, eax
mov al, byte [0xbdbc5c]
mov byte [esp + 0x30], al
lea eax, [esp + 0x24]
push eax
push dword [ebx]
mov dword [esp + 0x34], ecx
call fcn.005192f0
mov ecx, dword [ebx]
mov edx, 1
call fcn.00472620
mov ecx, dword [esp + 0x1034]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4