Function at 0x4922c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebp
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x492808
test dword [ebp], 0x8000
je 0x492808
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0xc]
test ax, ax
je 0x492808
mov edx, dword [edx + 4]
mov dword [esp + 4], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 0
push ebx
mov ebx, eax
mov eax, dword [0x8a7dd0]
movzx ecx, bx
mov dword [esp + 0x18], ebx
push esi
push edi
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x18], edi
test edx, edx
je 0x492342
lea eax, [edx*8]
push eax
push 0
push eax
call fcn.004a67c0
add esp, 4
push eax
call fcn.0059d510
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x49234a
mov dword [esp + 0x14], 0
cmp dword [esp + 0x44], 0
je 0x4923e3
movzx eax, word [edi + 0x3e]
test ax, ax
je 0x4923e3
mov esi, dword [edi + 0x14]
mov ebx, eax
cmp word [esi + 4], 1
jne 0x4923d3
movzx edx, word [esi + 8]
movzx eax, word [esi + 6]
add edx, eax
test dword [ebp], 0x8000
je 0x4923cf
test edx, edx
je 0x4923cf
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 4]
ja 0x4923cf
mov eax, dword [eax]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
je 0x4923cf
mov ecx, dword [esp + 0x14]
push dword [esi]
push eax
lea edi, [ecx + edx*8]
call fcn.0048b8e0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4923c4
mov eax, 3
dec edx
mov word [edi - 2], ax
mov dword [esp + 0x10], edx
jmp 0x4923d3
mov eax, 1
mov word [edi - 2], ax
jmp 0x4923d3
mov edx, dword [esp + 0x10]
add esi, 0xc
sub ebx, 1
jne 0x492367
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
movzx ecx, word [edi + 0x50]
movzx ebp, word [edi + 0x44]
mov esi, dword [edi + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], ecx
test edx, edx
je 0x4925d7
test ecx, ecx
je 0x4925d7
cmp dword [esi], 0
je 0x492561
mov ax, word [esp + 0x40]
test ax, ax
je 0x492427
test word [esi + 0x16], ax
je 0x492561
movzx ecx, word [edi + 0x34]
cmp bx, cx
je 0x49243a
cmp bx, word [esi + 0x14]
jne 0x492561
mov edi, dword [esi + 8]
cmp edi, 0x87bc18
je 0x49244d
cmp edi, 0x87bc28
jne 0x492450
mov edi, dword [esi + 0xc]
cmp edi, 0x87bb68
je 0x492464
cmp edi, 0x87bb58
jne 0x49255d
xor eax, eax
cmp edi, 0x87bb68
sete al
add eax, 2
movzx eax, ax
mov dword [esp + 0x28], eax
movzx eax, ax
mov dword [esp + 0x34], eax
cmp bx, cx
jne 0x49248b
movzx eax, word [esi + 0x1a]
jmp 0x49248f
mov eax, dword [esp + 0x2c]
movzx ebx, word [esi + 0x18]
add ebx, eax
je 0x49249d
cmp ebx, dword [esp + 0x30]
jbe 0x4924b7
push 0
push str.__objGetIVars__
push 0
push 0x232d
call fcn.004ecae0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esp + 0x14]
movzx eax, word [eax + ebx*8 - 2]
cmp ax, word [esp + 0x28]
jae 0x49255d
mov eax, dword [esp + 0x3c]
test dword [eax], 0x8000
je 0x49254a
test ebx, ebx
je 0x49254a
mov eax, dword [eax + 8]
cmp ebx, dword [eax + 4]
ja 0x49254a
mov eax, dword [eax]
lea ecx, [ebx + ebx*2]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
je 0x49254a
mov edx, dword [esp + 0x14]
movzx ecx, word [edx + ebx*8 - 2]
mov edx, dword [esp + 0x10]
test cx, cx
jne 0x49250a
test dword [eax], 0xfffbffff
je 0x49254a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + ebx*8 - 8]
mov dword [eax + ebx*8 - 8], esi
mov eax, dword [esp + 0x20]
mov word [edx + ebx*8 - 4], ax
mov eax, dword [esp + 0x34]
mov word [edx + ebx*8 - 2], ax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc eax
test ecx, ecx
cmovne eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
cmp edi, 0x87bb68
jne 0x49255d
jmp 0x492558
mov eax, dword [esp + 0x14]
mov ecx, 3
mov word [eax + ebx*8 - 2], cx
dec edx
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x18]
add esi, 0x20
sub dword [esp + 0x24], 1
jne 0x4925c3
mov ax, bp
add ebp, 0xffff
test ax, ax
je 0x4925c3
mov ecx, dword [edi + 0x2c]
mov esi, dword [esp + 0x20]
movzx eax, bp
cmp si, word [ecx + eax*4]
jne 0x492597
mov ax, bp
add ebp, 0xffff
test ax, ax
je 0x4925d7
movzx eax, bp
movzx ebx, word [ecx + eax*4]
movzx edi, word [ecx + eax*4 + 2]
mov eax, dword [0x8a7dd0]
movzx ecx, bx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], edi
mov eax, dword [eax + ecx*4]
movzx ecx, word [eax + 0x50]
mov esi, dword [eax + 8]
mov dword [esp + 0x24], ecx
jmp 0x4925cb
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
test edx, edx
jne 0x492402
xor ebx, ebx
push ebx
call fcn.004898b0
mov esi, dword [esp + 0x20]
mov edi, eax
push esi
push edi
mov dword [esp + 0x1c], edi
call fcn.00484560
mov ebp, 1
add esp, 0xc
cmp dword [esp + 0x30], ebp
jb 0x4927ea
mov eax, dword [esp + 0x14]
lea ecx, [ebx + 0x18]
mov dword [esp + 0x20], 0x18
xor edx, edx
mov dword [esp + 0x2c], eax
cmp ebx, esi
jae 0x4927ea
mov eax, dword [eax]
test eax, eax
je 0x4927cd
mov eax, dword [eax]
inc ebx
add edx, 0x18
mov dword [esp + 0x24], ebx
test dword [edi], 0x8000
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov esi, dword [eax]
je 0x492658
test ebx, ebx
je 0x492658
mov eax, dword [edi + 8]
cmp ebx, dword [eax + 4]
ja 0x492658
mov edi, dword [eax]
add edi, 0xffffffe8
add edi, edx
jmp 0x49265a
xor edi, edi
push 2
push edi
call fcn.00484560
mov eax, dword [esp + 0x34]
add esp, 8
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + 4]
cmp ax, word [ecx + 0x34]
je 0x49277d
mov ecx, eax
mov eax, dword [0x8a7dd0]
push 0
push esi
push 0x768144
mov eax, dword [eax + ecx*4]
push dword [eax]
push 0
call fcn.005799b0
add esp, 0x14
mov ebx, eax
test dword [edi], 0x8000
je 0x492726
mov esi, dword [edi + 8]
cmp dword [esi + 4], 1
jb 0x492726
mov esi, dword [esi]
test esi, esi
je 0x4926c6
test dword [esi], 0xb405
je 0x4926d2
push esi
call fcn.0048b3c0
jmp 0x4926cf
push 0
call fcn.004898b0
mov esi, eax
add esp, 4
test ebx, ebx
je 0x49274f
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4926e0
sub ecx, edx
mov dword [esi], 0x400
mov dword [esi + 8], ecx
cmp ecx, 1
ja 0x49271d
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x492763
movzx eax, byte [ebx]
mov eax, dword [eax*4 + 0x788ac8]
mov dword [esi + 0x10], eax
lea eax, [ebx - 4]
push eax
call fcn.00482cd0
add esp, 4
jmp 0x492726
lea eax, [ecx + 1]
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], eax
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
test dword [eax], 0x8000
je 0x49279b
test ebp, ebp
je 0x49279b
mov eax, dword [eax + 8]
cmp ebp, dword [eax + 4]
ja 0x49279b
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
add ecx, 0xffffffe8
add ecx, eax
jmp 0x49279d
mov dword [esi], 0x400
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [0x788ac8]
mov dword [esi + 0x10], eax
test ebx, ebx
je 0x492726
lea eax, [ebx - 4]
push eax
call fcn.00482cd0
add esp, 4
jmp 0x492726
test dword [edi], 0x8000
je 0x49272a
mov eax, dword [edi + 8]
cmp dword [eax + 4], 1
jb 0x49272a
push esi
push dword [eax]
call fcn.0048c630
add esp, 8
jmp 0x49272a
xor ecx, ecx
test dword [edi], 0x8000
je 0x4927bd
mov eax, dword [edi + 8]
cmp dword [eax + 4], 2
jb 0x4927bd
mov eax, dword [eax]
push ecx
add eax, 0x18
push eax
call fcn.0048b670
add esp, 8
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ebp
add eax, 8
add ecx, 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
cmp ebp, dword [esp + 0x30]
jbe 0x492617
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4927fe
add eax, 0xfffffffc
push eax
call fcn.00482cd0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x28
ret
xor eax, eax
pop ebp
add esp, 0x28
ret