Function at 0x4dabc4
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x324, 0
push eax
sub ebp, 0x82
lea edx, [ebp - 0x19e]
mov eax, 0x4da6fc
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
call fcn.004db560
push eax
call dword [ebx]
lea edx, [ebp - 0x19e]
mov edi, eax
mov ebx, eax
mov eax, 0x4da71c
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push edi
call dword [esi]
mov dword [ebp - 0x12], eax
cmp dword [ebp - 0x2a6], 0
jne 0x4dac22
push 0
call dword [ebp - 0x12]
mov dword [ebp - 0x2a6], eax
lea edx, [ebp - 0x19e]
mov eax, 0x4da72d
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
push 0x104
mov dword [ebp - 0x62], eax
lea eax, [ebp - 0x2a2]
push eax
push dword [ebp - 0x2a6]
call dword [ebp - 0x62]
mov eax, dword [ebp - 0x2a6]
mov edx, eax
add edx, dword [eax + 0x3c]
mov dword [ebp + 0x7e], edx
movzx eax, word [edx + 0x14]
add edx, 0x18
add edx, eax
mov eax, dword [ebp + 0x7e]
mov dword [ebp + 0x16], edx
movzx eax, word [eax + 6]
lea edx, [ebp - 0x19e]
mov dword [ebp + 0x3a], eax
mov eax, 0x4da705
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp + 0x1e], eax
mov eax, 0x4da740
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp - 0x32], eax
mov eax, 0x4da74c
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp - 0x2a], eax
mov eax, 0x4da75f
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
mov dword [ebp - 0x1a], eax
lea edx, [ebp - 0x19e]
mov eax, 0x4da76d
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp - 0x22], eax
mov eax, 0x4da77d
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp + 6], eax
mov eax, 0x4da789
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp + 0x76], eax
mov eax, 0x4da798
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp - 0x1e], eax
mov eax, 0x4da7aa
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x19e]
mov dword [ebp + 0xa], eax
mov eax, 0x4da711
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ebx
call dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov dword [ebp + 0x4e], eax
lea eax, [ebp - 0x2a2]
push eax
call dword [ebp - 0x32]
mov dword [ebp + 0x26], eax
cmp eax, 0xffffffff
jne 0x4dadc9
lea eax, [ebp - 0x2a2]
call fcn.004daa63
push 0
push 0
push 0
push 2
push 0
push dword [ebp + 0x26]
call dword [ebp - 0x2a]
mov dword [ebp + 2], eax
test eax, eax
jne 0x4dadeb
lea eax, [ebp - 0x2a2]
call fcn.004daa63
push 0
push 0
push 0
push 4
push dword [ebp + 2]
call dword [ebp - 0x1a]
mov dword [ebp + 0x2a], eax
test eax, eax
jne 0x4dae0b
lea eax, [ebp - 0x2a2]
call fcn.004daa63
mov esi, dword [ebp + 0x2a]
add esi, dword [0x4da632]
cmp dword [esi], 0x4181996
je 0x4dae27
lea eax, [ebp - 0x2a2]
call fcn.004daa4e
lea eax, [esi + 0x54]
mov dword [ebp + 0x52], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 0x52]
shl eax, 4
push 0x10004
add edx, eax
push 0
mov dword [ebp - 0x5e], edx
call dword [ebp + 0x1e]
mov dword [ebp + 0x6e], eax
test eax, eax
jne 0x4dae57
lea eax, [ebp - 0x2a2]
call fcn.004daa29
mov edi, dword [ebp + 0x7e]
mov ecx, dword [ebp + 0x6e]
mov eax, dword [ebp - 0x5e]
mov edi, dword [edi + 0x28]
mov edx, dword [esi + 8]
add edi, dword [ebp - 0x2a6]
mov ebx, dword [esi + 0xc]
add edx, edi
call fcn.004db665
mov dword [ebp - 0x5e], eax
test eax, eax
jne 0x4dae8d
mov edx, 0xfffffffd
lea eax, [ebp - 0x2a2]
call fcn.004dabae
mov ecx, dword [ebp + 0x6e]
mov eax, dword [ebp - 0x5e]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
add edx, edi
call fcn.004db665
mov dword [ebp - 0x5e], eax
test eax, eax
jne 0x4daeb7
mov edx, 0xfffffffd
lea eax, [ebp - 0x2a2]
call fcn.004dabae
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax + 0x38]
dec eax
mov dword [ebp - 6], eax
mov eax, dword [ebp + 0x7e]
add eax, 0x78
mov ebx, dword [ebp + 0x7e]
mov dword [ebp + 0x5a], eax
mov eax, dword [ebp - 0x2a6]
sub eax, dword [ebx + 0x34]
mov ebx, eax
je 0x4daefc
cmp dword [esi + 0x18], 0
jne 0x4daeeb
lea eax, [ebp - 0x2a2]
call fcn.004dab96
mov ecx, dword [ebp - 0x2a6]
mov eax, dword [ebp - 0x5e]
mov edx, dword [esi + 0x18]
call fcn.004db501
mov eax, dword [esi + 0x18]
add dword [ebp - 0x5e], eax
call dword [ebp - 0x1e]
push 0
push 0
push eax
mov dword [ebp - 0x26], eax
call dword [ebp + 0xa]
mov eax, dword [ebp + 0x1e]
mov dword [0x4daa1e], eax
mov eax, dword [ebp + 0x4e]
mov dword [0x4daa22], eax
cmp dword [0x4da62e], 0
jne 0x4db026
lea edx, [ebp - 0x19e]
mov eax, 0x4da7cc
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
call fcn.004db560
push eax
call dword [ebx]
lea edx, [ebp - 0x19e]
mov ecx, eax
mov eax, 0x4da7d3
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call fcn.004db560
push eax
push ecx
call dword [ebx]
push 0x2134
mov dword [ebp + 0x1a], eax
lea eax, [ebp - 0x2a2]
push eax
lea edx, [ebp - 0x19e]
mov eax, 0x4da8a1
call fcn.004db560
jmp 0x4db026
mov eax, dword [esi + 0x20]
mov edx, dword [ebp + 0x7e]
mov dword [ebp + 0x22], eax
mov edx, dword [edx + 0x28]
mov eax, dword [ebp - 0x2a6]
mov ebx, dword [ebp + 0x22]
add eax, edx
sub ebx, edx
inc eax
lea edx, [ebx - 5]
mov dword [eax], edx
mov edi, dword [ebp + 0x52]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x62], 0
mov dword [ebp + 0x12], eax
jmp 0x4db081
mov dword [ebp - 0x56], 2
cmp dword [ebp - 0x56], 4
je 0x4db07b
mov eax, dword [edi]
cmp eax, dword [esi + 0x3c]
je 0x4db07b
lea eax, [ebp - 0x5a]
push eax
push dword [ebp - 0x56]
push dword [ebp + 0x5e]
push dword [ebp - 0x52]
call dword [ebp + 0x76]
inc dword [ebp + 0x62]
add edi, 0x10
mov eax, dword [ebp + 0x62]
cmp eax, dword [ebp + 0x12]
jae 0x4db114
imul eax, dword [edi], 0x28
mov edx, dword [ebp + 0x16]
add edx, eax
mov eax, edx
mov dword [ebp + 0x32], edx
mov edx, dword [ebp - 0x2a6]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x52], edx
mov eax, dword [edi]
cmp eax, dword [esi + 0x3c]
jne 0x4db0b3
mov eax, dword [esi + 0x40]
add dword [ebp - 0x52], eax
mov eax, dword [edi + 8]
mov dword [ebp + 0x5e], eax
lea eax, [ebp - 0x56]
push eax
push 4
push dword [ebp + 0x5e]
push dword [ebp - 0x52]
lea ebx, [ebp - 0x52]
call dword [ebp + 0x76]
push dword [ebp + 0x6e]
lea edx, [ebp - 0x5e]
lea eax, [ebp - 0x2a2]
push dword [ebp + 0x5e]
mov ecx, dword [edi + 0xc]
call fcn.004db497
mov eax, dword [ebp + 0x32]
mov edx, dword [edi + 4]
mov eax, dword [eax + 0x24]
and edx, 0x80000000
and eax, 0x80000000
cmp edx, eax
je 0x4db05e
test byte [edi + 4], 0x20
je 0x4db057
mov dword [ebp - 0x56], 0x20
jmp 0x4db05e
cmp dword [esi + 0x24], 0
je 0x4db23e
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x2a6]
mov dword [ebp + 0x36], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x2e], eax
mov eax, dword [ebp + 0x5a]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp + 0x5a]
mov dword [ebp - 2], eax
add eax, dword [edx + 0x64]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0x4e]
push eax
push 4
push dword [ebp + 0x2e]
push dword [ebp + 0x36]
call dword [ebp + 0x76]
mov eax, dword [ebp - 0x2a6]
add eax, dword [esi + 0x24]
mov dword [ebp + 0x7a], eax
mov dword [ebp - 0x16], eax
jmp 0x4db166
add dword [ebp + 0x7a], 0x14
mov eax, dword [ebp + 0x7a]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4db22e
mov edx, dword [ebp + 0x7a]
cmp edx, dword [ebp - 0x16]
jbe 0x4db187
mov ebx, dword [ebp + 0x7a]
mov edx, dword [edx + 0x10]
cmp edx, dword [ebx - 4]
je 0x4db162
mov edx, dword [ebp - 0x2a6]
add edx, eax
mov eax, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edx
mov dword [ebp + 0x56], edx
call dword [eax]
mov dword [ebp - 0xe], eax
test eax, eax
jne 0x4db1af
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x2a2]
call fcn.004daa78
mov eax, dword [ebp + 0x7a]
mov edi, dword [ebp - 0x2a6]
add edi, dword [eax + 0x10]
jmp 0x4db1ea
test eax, 0x80000000
jne 0x4db1cf
add eax, dword [ebp - 0x2a6]
lea ebx, [eax + 2]
jmp 0x4db20d
mov edx, eax
and edx, 0x7fffffff
shr edx, 0x10
and edx, 0xffff
movzx edx, dx
test edx, edx
je 0x4db20a
add edi, 4
mov eax, dword [edi]
test eax, eax
je 0x4db162
cmp eax, dword [ebp - 2]
jb 0x4db1bd
cmp eax, dword [ebp - 0xa]
jae 0x4db1bd
add eax, dword [ebp - 0x2a6]
mov eax, dword [eax]
mov dword [edi], eax
jmp 0x4db1e7
movzx ebx, ax
push ebx
mov eax, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push dword [ebp - 0xe]
call dword [eax]
mov dword [edi], eax
test eax, eax
jne 0x4db1e7
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x2a2]
call fcn.004daab4
jmp 0x4db1e7
lea eax, [ebp - 0x4a]
push eax
push dword [ebp - 0x4e]
push dword [ebp + 0x2e]
push dword [ebp + 0x36]
call dword [ebp + 0x76]
mov eax, dword [ebp + 0x7e]
mov edx, dword [ebp - 0x2a6]
sub edx, dword [eax + 0x34]
mov dword [ebp + 0xe], edx
je 0x4db422
cmp dword [esi + 0x30], 0
jne 0x4db264
lea eax, [ebp - 0x2a2]
call fcn.004dab96
mov dword [ebp - 0x46], 4
mov dword [ebp - 0x42], 0
push dword [ebp + 0x6e]
lea ebx, [ebp - 0x42]
lea edx, [ebp - 0x5e]
lea eax, [ebp - 0x2a2]
push dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
call fcn.004db497
mov ebx, dword [ebp - 0x42]
mov dword [ebp + 0x72], 0
mov eax, ebx
mov dword [ebp + 0x6a], 0
add eax, dword [esi + 0x30]
mov edi, dword [ebp - 0x2a6]
mov dword [ebp - 0x2e], eax
cmp ebx, dword [ebp - 0x2e]
jb 0x4db2e9
jmp 0x4db402
movzx eax, word [ebx]
add eax, 0x101
inc ebx
inc ebx
add edi, eax
jmp 0x4db302
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
shl eax, 8
or edx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or eax, edx
add eax, 0x10100
add ebx, 3
jmp 0x4db2bf
add edi, dword [ebx]
add ebx, 4
jmp 0x4db302
mov al, byte [ebx]
inc ebx
cmp al, 1
jb 0x4db2f8
jbe 0x4db2c3
cmp al, 2
je 0x4db2e2
jmp 0x4db2fc
test al, al
je 0x4db2b5
movzx eax, al
inc eax
jmp 0x4db2bf
cmp edi, dword [ebp + 0x6a]
jb 0x4db3f8
cmp dword [ebp - 0x46], 4
je 0x4db325
lea eax, [ebp - 0x5a]
push eax
mov eax, dword [ebp + 0x6a]
push dword [ebp - 0x46]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x76]
mov eax, edi
sub eax, dword [ebp - 0x2a6]
mov dword [ebp + 0x66], 0
mov dword [ebp + 0x3e], eax
mov eax, dword [ebp + 0x16]
jmp 0x4db342
inc dword [ebp + 0x66]
add eax, 0x28
mov edx, dword [ebp + 0x66]
cmp edx, dword [ebp + 0x3a]
jge 0x4db3e5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
ja 0x4db35c
mov ecx, dword [eax + 8]
mov dword [ebp + 0x4a], ecx
mov ecx, dword [ebp + 0x4a]
add ecx, dword [ebp - 6]
mov dword [ebp - 0x3e], ecx
mov ecx, dword [ebp - 6]
mov dword [ebp - 0x3a], ecx
not dword [ebp - 0x3a]
mov ecx, dword [ebp - 0x3e]
and ecx, dword [ebp - 0x3a]
add ecx, edx
mov dword [ebp + 0x42], ecx
cmp edx, dword [ebp + 0x3e]
ja 0x4db33c
mov ecx, dword [ebp + 0x3e]
cmp ecx, dword [ebp + 0x42]
jae 0x4db33c
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x2a6]
mov dword [ebp + 0x46], eax
add ecx, edx
mov edx, dword [ebp - 0x2a6]
mov eax, dword [ebp + 0x52]
add edx, dword [ebp + 0x42]
mov dword [ebp + 0x72], ecx
mov dword [ebp + 0x6a], edx
xor edx, edx
jmp 0x4db3b1
inc edx
add eax, 0x10
cmp edx, dword [ebp + 0x12]
jae 0x4db3c3
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0x66]
jne 0x4db3ad
mov eax, dword [eax + 4]
mov dword [ebp + 0x46], eax
test byte [ebp + 0x49], 0x80
jne 0x4db3de
lea eax, [ebp - 0x46]
push eax
mov eax, dword [ebp + 0x6a]
push 4
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x76]
jmp 0x4db3e5
mov dword [ebp - 0x46], 4
mov eax, dword [ebp + 0x66]
cmp eax, dword [ebp + 0x3a]
jne 0x4db3f8
lea eax, [ebp - 0x2a2]
call fcn.004daa4e
mov eax, dword [ebp + 0xe]
add dword [edi], eax
jmp 0x4db2ab
cmp dword [ebp - 0x46], 4
je 0x4db41c
lea eax, [ebp - 0x5a]
push eax
mov eax, dword [ebp + 0x6a]
push dword [ebp - 0x46]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x76]
push dword [ebp - 0x42]
call dword [ebp + 0x4e]
cmp dword [esi + 0x44], 0
je 0x4db45f
mov eax, dword [ebp + 0x5a]
mov edx, dword [ebp - 0x2a6]
add edx, dword [eax + 0x48]
mov ebx, dword [ebp - 0x2a6]
mov eax, edx
mov edx, dword [edx + 8]
add ebx, dword [esi + 0x44]
mov edx, dword [edx]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, dword [eax]
mov eax, edx
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + eax*4]
mov edi, eax
push edi
repne movsb byte es:[edi], byte [esi]
pop edi
push dword [ebp + 0x2a]
call dword [ebp - 0x22]
push dword [ebp + 2]
call dword [ebp + 6]
push dword [ebp + 0x26]
call dword [ebp + 6]
push 0
push 0
push dword [ebp - 0x26]
call dword [ebp + 0xa]
push dword [ebp + 0x6e]
call dword [ebp + 0x4e]
mov eax, dword [ebp - 0x2a6]
add eax, dword [ebp + 0x22]
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret