Function at 0x21043d00
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push 0x40
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x21043d23
xor eax, eax
jmp 0x21043f95
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x5a4d
je 0x21043d39
xor eax, eax
jmp 0x21043f95
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3c], 0
jne 0x21043d49
xor eax, eax
jmp 0x21043f95
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x21043d81
xor eax, eax
jmp 0x21043f95
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
je 0x21043d93
xor eax, eax
jmp 0x21043f95
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x18]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0x10b
je 0x21043db3
cmp dword [ebp - 0x4c], 0x20b
je 0x21043dde
jmp 0x21043e0c
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
push 0xf8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x21043dd3
xor eax, eax
jmp 0x21043f95
mov ecx, dword [ebp - 0xc]
add ecx, 0x78
mov dword [ebp - 4], ecx
jmp 0x21043e13
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
push 0x108
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x21043dfe
xor eax, eax
jmp 0x21043f95
mov ecx, dword [ebp - 0x14]
add ecx, 0x88
mov dword [ebp - 4], ecx
jmp 0x21043e13
xor eax, eax
jmp 0x21043f95
push 8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x21043e2a
xor eax, eax
jmp 0x21043f95
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x21043f93
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
jmp 0x21043e62
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x2c], ecx
jae 0x21043eb2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edx]
cmp ecx, dword [eax + 0xc]
jb 0x21043ea7
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 8]
mov edx, dword [ebp - 4]
cmp dword [edx], eax
jae 0x21043ea7
cmp dword [ebp + 0xc], 0
jne 0x21043ea5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x21043eb2
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [ebp - 0x28], eax
jmp 0x21043e59
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
jmp 0x21043f11
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x20]
jae 0x21043f93
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x21043f3f
jmp 0x21043f08
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x3c]
jae 0x21043f8f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x44], dx
mov eax, dword [ebp - 0x44]
and eax, 0xffff
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x48], edx
cmp dword [ebp + 0xc], 0
jne 0x21043f8a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jb 0x21043f8a
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 4]
cmp dword [ebp - 0x48], eax
jae 0x21043f8a
xor eax, eax
jmp 0x21043f95
mov eax, dword [ebp - 0x48]
jmp 0x21043f95
xor eax, eax
jmp 0x21043f95
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc