Function at 0x10004d20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x3c]
movzx eax, word [esi + ebx + 4]
add esi, ebx
mov ecx, 0x14c
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
cmp ax, cx
jne 0x10004d57
mov edi, dword [esi + 0x80]
jmp 0x10004d6b
mov edx, 0x8664
cmp ax, dx
jne 0x1000503e
mov edi, dword [esi + 0x90]
mov ecx, ebx
call fcn.10004bc0
test eax, eax
je 0x1000503e
xor ecx, ecx
add eax, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
cmp eax, ecx
je 0x10004f31
sub eax, ebx
mov dword [ebp - 0x14], eax
lea ebx, [ebx]
mov edi, dword [ebx + eax + 0xc]
test edi, edi
je 0x10004f31
movzx eax, word [esi + 0x14]
movzx ebx, word [esi + 6]
lea ecx, [eax + esi + 0x18]
xor eax, eax
mov dword [ebp - 0x28], ecx
test ebx, ebx
je 0x10004f1e
add ecx, 0xc
mov edx, dword [ecx]
cmp edi, edx
jb 0x10004dda
mov esi, dword [ecx + 4]
add esi, edx
cmp edi, esi
jb 0x10004de7
mov esi, dword [ebp - 0x18]
inc eax
add ecx, 0x28
cmp eax, ebx
jb 0x10004dc8
jmp 0x10004f1e
mov edx, dword [ebp - 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8 + 0x14]
sub eax, dword [edx + ecx*8 + 0xc]
lea ecx, [edx + ecx*8]
add eax, edi
je 0x10004f1b
mov esi, dword [ebp - 0x1c]
add esi, eax
mov ecx, 0x10020d88
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004e30
test dl, dl
je 0x10004e2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004e30
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004e10
xor eax, eax
jmp 0x10004e35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10004f11
mov ecx, str.MSVCR100D.dll
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004e64
test dl, dl
je 0x10004e60
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004e64
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004e44
xor eax, eax
jmp 0x10004e69
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10004f11
mov ecx, 0x10020da8
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004e98
test dl, dl
je 0x10004e94
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004e98
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004e78
xor eax, eax
jmp 0x10004e9d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10004f09
mov ecx, str.MSVCP100D.dll
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004ec8
test dl, dl
je 0x10004ec4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004ec8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004ea8
xor eax, eax
jmp 0x10004ecd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10004f09
mov ecx, str.AssetsTools.dll
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004ef8
test dl, dl
je 0x10004ef4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004ef8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004ed8
xor eax, eax
jmp 0x10004efd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10004f17
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
jmp 0x10004f17
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x10004f17
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
add dword [ebp - 0x14], 0x14
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx]
mov ebx, edx
test ecx, ecx
jne 0x10004da0
mov eax, 1
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], 3
cmp dword [edx], 0
je 0x10004fd1
cmp eax, 3
jae 0x10004f66
mov ecx, dword [ebp + eax*4 - 0x10]
cmp ecx, dword [edx]
jbe 0x10004f60
add ecx, 0xffffffec
mov dword [ebp + eax*4 - 0x10], ecx
inc eax
cmp eax, 3
jb 0x10004f51
mov eax, dword [edx]
mov ecx, dword [eax + ebx + 8]
mov edi, dword [eax + ebx]
mov esi, dword [eax + ebx + 4]
add eax, ebx
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov ebx, dword [eax + 0x14]
mov ecx, eax
add eax, 0x14
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x10], ebx
cmp dword [eax + 0xc], 0
jne 0x10004f84
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x1c]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x10], ecx
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
inc eax
add edx, 4
dec dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jne 0x10004f43
push 0x10020dd8
mov esi, ebx
call fcn.10004c20
add esp, 4
test eax, eax
jne 0x1000500a
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e770
mov esp, ebp
pop ebp
ret
mov edi, eax
mov ecx, ebx
call fcn.10004bc0
test eax, eax
je 0x10004ff4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + eax], edx
mov edx, dword [ebp - 8]
pop edi
mov dword [ebx + eax + 4], ecx
mov dword [ebx + eax + 8], edx
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e770
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.1001e770
mov esp, ebp
pop ebp
ret