Function at 0x100244d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x418
mov eax, dword [0x1004f8f4]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x420]
push ebx
mov ebx, dword [esp + 0x428]
push ebp
mov ebp, dword [esp + 0x424]
push esi
push edi
mov edi, dword [esp + 0x438]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
test edi, edi
je 0x10024815
mov ax, word [ebx + 2]
mov cx, word [ebx]
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [0x10052ce0]
mov word [esp + 0x22], ax
cwde
mov dword [esp + 0x1c], eax
mov eax, 0xfffffffc
sub eax, dword [esp + 0x1c]
add edi, eax
mov word [esp + 0x20], cx
movsx eax, cx
mov dword [esp + 0x438], edi
cmp eax, 0x231
jg 0x100246cb
je 0x10024697
cmp eax, 0x1e
je 0x100245db
cmp eax, 0x31
jne 0x100246d2
push esi
lea eax, [ebx + 4]
push eax
push dword [ebp + 0x18]
push dword [ebp + 4]
call int.10020660
mov ebp, dword [ebp + 4]
cmp ebp, 8
jl 0x100245a1
lea eax, [esi + 0x10]
mov edi, 0x10
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10024590
sub eax, edx
sar eax, 1
jmp 0x100245b9
lea eax, [esi + 0xf]
mov edi, 0xf
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100245b0
sub eax, edx
mov ecx, 0x31
cmp ebp, 8
mov ebp, dword [esp + 0x14]
mov word [esp + 0x10], cx
jl 0x100245d4
lea eax, [edi + eax*2]
jmp 0x100247a4
add eax, edi
jmp 0x100247a4
movzx eax, byte [ebx + 4]
mov ecx, dword [ebp + 0x18]
push 0x100
lea edi, [eax + eax]
cmp ecx, 0x4b0
je 0x1002460a
lea ebp, [esp + 0x228]
push ebp
push eax
lea eax, [ebx + 5]
push eax
push 0
push ecx
call edx
mov ebp, dword [esp + 0x14]
jmp 0x1002461d
lea ecx, [esp + 0x228]
push ecx
push eax
lea eax, [ebx + 5]
push eax
push 0
push 0
call edx
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0x22c]
push eax
push dword [esp + 0x24]
call fcn.10020890
lea ecx, [esp + 0x24]
lea edx, [ecx + 2]
jmp 0x10024640
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024640
sub ecx, edx
mov edx, dword [ebp + 0x18]
sar ecx, 1
push 0
push 0
lea eax, [ecx + ecx]
push eax
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x34]
push ecx
push eax
push 0
cmp edx, 0x4b0
je 0x10024682
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi], al
mov ecx, 0x1e
inc eax
jmp 0x1002479f
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi], al
mov ecx, 0x1e
inc eax
jmp 0x1002479f
push esi
lea eax, [ebx + 4]
push eax
push dword [ebp + 0x18]
push dword [ebp + 4]
call int.10020660
lea ecx, [esi + 7]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100246b0
sub ecx, edx
mov eax, 0x231
mov word [esp + 0x10], ax
lea eax, [ecx + 7]
jmp 0x100247ab
cmp eax, 0x41e
je 0x100246e2
mov eax, dword [esp + 0x20]
lea esi, [ebx + 4]
mov dword [esp + 0x10], eax
jmp 0x100247b0
mov ecx, dword [esp + 0x14]
movzx eax, byte [ebx + 6]
movsx ebp, word [ebx + 4]
push 0x100
mov ecx, dword [ecx + 0x18]
lea edi, [eax + eax]
cmp ecx, 0x4b0
je 0x10024719
lea edx, [esp + 0x228]
push edx
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebx + 7]
push eax
push 0
push ecx
jmp 0x1002472a
lea ecx, [esp + 0x228]
push ecx
push eax
lea eax, [ebx + 7]
push eax
push 0
push 0
call edx
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0x22c]
push eax
push dword [esp + 0x24]
call fcn.10020890
lea ecx, [esp + 0x24]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024750
mov eax, dword [esp + 0x14]
sub ecx, edx
sar ecx, 1
push 0
push 0
mov edx, dword [eax + 0x18]
lea eax, [ecx + ecx]
push eax
lea eax, [esi + 3]
push eax
lea eax, [esp + 0x34]
push ecx
push eax
push 0
cmp edx, 0x4b0
je 0x10024785
push edx
jmp 0x10024787
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov word [esi], bp
mov ecx, 0x41e
mov ebp, dword [esp + 0x14]
mov byte [esi + 2], al
add eax, 3
mov word [esp + 0x10], cx
mov edi, dword [esp + 0x438]
mov word [esp + 0x12], ax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x100247d9
push esi
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push eax
call fcn.10026eb0
test eax, eax
jne 0x10024817
mov eax, dword [esp + 0x1c]
add eax, 4
add ebx, eax
jmp 0x1002450c
push 4
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x14]
call fcn.1002b930
test eax, eax
jne 0x1002480d
movsx eax, word [esp + 0x12]
push eax
push esi
push dword [ebp + 0x14]
call fcn.1002b930
test eax, eax
jne 0x1002480d
mov eax, dword [esp + 0x1c]
add eax, 4
add ebx, eax
jmp 0x1002450c
push eax
call fcn.1001ac20
jmp 0x10024817
xor eax, eax
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a853
add esp, 0x418
ret 0x10