Function at 0x54edc6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005434a8
sub esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x54edfb
lock inc dword [eax + 4]
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.006461e8
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x54f47e
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54ee31
movzx edx, dx
mov byte [eax + edx + 8], 0xc8
inc word [eax + 6]
inc word [eax + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34]
lea edi, [ebp - 0x3e]
lea esi, [eax + 0x266]
mov ecx, 9
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
test edx, edx
je 0x54ee5b
lock inc dword [edx + 4]
mov dword [esp + 0x10], 1
lea edx, [ebp - 0x3e]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0054ceb0
jmp 0x54ee94
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.006461e8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + 0x730]
mov dword [ebp - 0x60], eax
jmp 0x54f096
mov ebx, dword [ebp - 0x60]
movzx edx, word [ebx + 0x3028]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0052fb0e
test al, al
je 0x54f088
mov dword [esp], 0x30ac
call fcn.0076790c
mov dword [ebp - 0x5c], eax
cmp eax, 0xfffffff8
je 0x54f050
mov al, byte [ebx + 0x14]
mov edx, dword [ebp - 0x5c]
mov byte [edx + 8], al
mov al, byte [ebx + 0x15]
mov byte [edx + 9], al
mov al, byte [ebx + 0x16]
mov byte [edx + 0xa], al
mov al, byte [ebx + 0x17]
mov byte [edx + 0xb], al
mov al, byte [ebx + 0x18]
mov byte [edx + 0xc], al
mov eax, dword [ebx + 0x1c]
mov dword [edx + 0x10], eax
mov edi, edx
add edi, 0x14
lea esi, [ebx + 0x20]
mov ecx, 0x1002
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x1022]
mov cx, 0x801
rep movsd dword es:[edi], dword [esi]
mov ax, word [ebx + 0x3026]
mov word [edx + 0x301a], ax
mov eax, dword [ebx + 0x3028]
mov word [edx + 0x301c], ax
mov edi, edx
add edi, 0x3020
lea esi, [ebx + 0x302c]
mov cl, 7
rep movsd dword es:[edi], dword [esi]
mov edi, edx
add edi, 0x303c
lea esi, [ebx + 0x3048]
mov cl, 7
rep movsd dword es:[edi], dword [esi]
mov edi, edx
add edi, 0x3058
lea esi, [ebx + 0x3064]
mov cl, 5
rep movsd dword es:[edi], dword [esi]
mov edi, edx
add edi, 0x306c
lea esi, [ebx + 0x3078]
mov cl, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x308c]
mov dword [edx + 0x3080], eax
mov eax, dword [ebx + 0x3090]
mov dword [edx + 0x3084], eax
mov eax, dword [ebx + 0x3094]
mov dword [edx + 0x3088], eax
mov eax, dword [ebx + 0x3098]
mov dword [edx + 0x308c], eax
mov eax, dword [ebx + 0x309c]
mov dword [edx + 0x3090], eax
mov eax, dword [ebx + 0x30a0]
mov dword [edx + 0x3094], eax
mov eax, dword [ebx + 0x30a4]
mov dword [edx + 0x3098], eax
mov eax, dword [ebx + 0x30a8]
mov dword [edx + 0x309c], eax
mov eax, dword [ebx + 0x30ac]
mov dword [edx + 0x30a0], eax
mov esi, edx
add esi, 0x30a4
lea eax, [ebx + 0x30b0]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00704290
add ebx, 0x30b4
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x5c]
add eax, 0x30a8
mov dword [esp], eax
call fcn.00704290
jmp 0x54f050
lea ecx, [ebp - 0x58]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00716f88
jmp 0x54f088
mov ecx, dword [ebp - 0x60]
mov dword [esp], ecx
call fcn.00757c28
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
lea edx, [eax + 0x728]
cmp dword [ebp - 0x60], edx
jne 0x54eebc
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x58]
cmp edx, eax
je 0x54f2f7
mov eax, edx
mov ebx, 0
lea ecx, [ebp - 0x58]
mov eax, dword [eax]
inc ebx
cmp eax, ecx
jne 0x54f0c3
test ebx, ebx
je 0x54f2f7
mov ebx, 0
lea eax, [ebp - 0x58]
mov edx, dword [edx]
inc ebx
cmp edx, eax
jne 0x54f0da
cmp ebx, 0x18
jbe 0x54f0eb
mov ebx, 0x19
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f10e
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54f12d
movzx edx, dx
mov byte [eax + edx + 8], bl
inc word [eax + 6]
inc word [eax + 4]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x6c], ecx
jmp 0x54f2cc
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
add ecx, 2
cmp ecx, 0x3bef
jg 0x54f1a5
movzx edx, dx
mov word [eax + edx + 8], di
add word [eax + 6], 2
add word [eax + 4], 2
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f1a5
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dword [esp + 8], 1
mov edx, dword [esi + 0x30a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005094ea
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + 0x6b4]
test eax, eax
je 0x54f491
test byte [eax + 0x32], 0x80
je 0x54f491
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f200
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54f2c7
movzx edx, dx
mov byte [eax + edx + 8], 3
inc word [eax + 6]
inc word [eax + 4]
jmp 0x54f2c7
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call fcn.005293c6
test al, al
je 0x54f4b2
mov esi, dword [esi + 0x301c]
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f268
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54f2c7
movzx edx, dx
mov ecx, esi
mov byte [eax + edx + 8], cl
inc word [eax + 6]
inc word [eax + 4]
jmp 0x54f2c7
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54f2c7
movzx edx, dx
mov byte [eax + edx + 8], 0
inc word [eax + 6]
inc word [eax + 4]
mov ebx, dword [ebx]
inc dword [ebp - 0x5c]
cmp ebx, dword [ebp - 0x6c]
je 0x54f438
cmp dword [ebp - 0x5c], 0x19
je 0x54f438
mov esi, ebx
mov edi, dword [ebx + 0x309c]
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f15e
jmp 0x54f142
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f31a
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54f4c2
movzx edx, dx
mov byte [eax + edx + 8], 1
inc word [eax + 6]
inc word [eax + 4]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x34]
lea edi, [ebp - 0x2c]
add esi, 0x266
mov ecx, 9
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f37a
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
add ecx, 2
cmp ecx, 0x3bef
jg 0x54f4e3
movzx edx, dx
mov word [eax + edx + 8], bx
add word [eax + 6], 2
add word [eax + 4], 2
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f3c5
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dword [esp + 8], 1
mov dword [esp + 4], str.Your_outfit
mov dword [esp], eax
call fcn.005094ea
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x34]
lea edi, [ebp - 0x22]
add esi, 0x266
mov ecx, 9
rep movsb byte es:[edi], byte [esi]
mov bl, byte [ebp - 0x1a]
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f419
mov dword [esp + 8], 0x1a2
mov dword [esp + 4], 0x7e65dc
mov dword [esp], 0x7e6667
call sub.msvcrt.dll__assert
mov dx, word [eax + 6]
movzx ecx, dx
inc ecx
cmp ecx, 0x3bef
jg 0x54f438
movzx edx, dx
mov byte [eax + edx + 8], bl
inc word [eax + 6]
inc word [eax + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34]
mov byte [eax + 0x44f], 1
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00704b7c
jmp 0x54f47e
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.006461e8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], 0x4d
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
je 0x54f23f
jmp 0x54f229
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x54f2a7
jmp 0x54f28b
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x34]
lea edi, [ebp - 0x2c]
add esi, 0x266
mov ecx, 9
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
jmp 0x54f37a
mov eax, dword [ebp - 0x50]
jmp 0x54f3c5