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

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x2e8, 0
push eax
sub ebp, 0x82
lea edx, [ebp - 0x162]
mov eax, 0x422d0ff
mov ebx, dword [sym.imp.kernel32.dll_LoadLibraryA]
call fcn.0422dcf3
push eax
call dword [ebx]
lea edx, [ebp - 0x162]
mov esi, eax
mov ebx, eax
mov eax, 0x422d11f
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push esi
call dword [edi]
mov dword [ebp - 0xe], eax
cmp dword [ebp - 0x26a], 0
jne 0x422d4a9
push 0
call dword [ebp - 0xe]
mov dword [ebp - 0x26a], eax
lea edx, [ebp - 0x162]
mov eax, 0x422d130
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
push 0x104
mov dword [ebp - 0x52], eax
lea eax, [ebp - 0x266]
push eax
push dword [ebp - 0x26a]
call dword [ebp - 0x52]
mov eax, dword [ebp - 0x26a]
mov edi, eax
add edi, dword [eax + 0x3c]
lea eax, [edi + 0x18]
movzx edx, word [edi + 0x14]
add eax, edx
mov dword [ebp + 0x1e], eax
movzx eax, word [edi + 6]
lea edx, [ebp - 0x162]
mov dword [ebp + 0x2a], eax
mov eax, 0x422d108
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 6], eax
mov eax, 0x422d143
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x1e], eax
mov eax, 0x422d14f
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x1a], eax
mov eax, 0x422d162
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
mov dword [ebp - 0x26], eax
lea edx, [ebp - 0x162]
mov eax, 0x422d170
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x62], eax
mov eax, 0x422d180
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 0xe], eax
mov eax, 0x422d18c
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 0x6e], eax
mov eax, 0x422d19b
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x22], eax
mov eax, 0x422d1ad
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 6], eax
mov eax, 0x422d114
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0422dcf3
push eax
push ebx
call dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov dword [ebp + 0x5a], eax
lea eax, [ebp - 0x266]
push eax
call dword [ebp - 0x1e]
mov dword [ebp + 0x42], eax
cmp eax, 0xffffffff
jne 0x422d64a
lea eax, [ebp - 0x266]
call fcn.0422d2ea
push 0
push 0
push 0
push 2
push 0
push dword [ebp + 0x42]
call dword [ebp - 0x1a]
mov dword [ebp + 0xa], eax
test eax, eax
jne 0x422d66c
lea eax, [ebp - 0x266]
call fcn.0422d2ea
push 0
push 0
push 0
push 4
push dword [ebp + 0xa]
call dword [ebp - 0x26]
mov dword [ebp + 0x12], eax
test eax, eax
jne 0x422d68c
lea eax, [ebp - 0x266]
call fcn.0422d2ea
mov esi, dword [ebp + 0x12]
add esi, dword [0x422d035]
cmp dword [esi], 0x4181996
je 0x422d6a8
lea eax, [ebp - 0x266]
call fcn.0422d2d5
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 - 0x4e], edx
call dword [ebp - 6]
mov dword [ebp + 0x6a], eax
test eax, eax
jne 0x422d6d8
lea eax, [ebp - 0x266]
call fcn.0422d2b0
mov edx, dword [ebp - 0x26a]
mov ecx, dword [ebp + 0x6a]
mov eax, dword [edi + 0x28]
mov ebx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp - 0x4e]
mov dword [ebp + 0x1a], edx
add edx, dword [esi + 8]
call fcn.0422ddf8
mov dword [ebp - 0x4e], eax
test eax, eax
jne 0x422d70e
mov edx, 0xfffffffd
lea eax, [ebp - 0x266]
call fcn.0422d435
mov edx, dword [ebp + 0x1a]
mov ecx, dword [ebp + 0x6a]
mov eax, dword [ebp - 0x4e]
mov ebx, dword [esi + 0x14]
add edx, dword [esi + 0x10]
call fcn.0422ddf8
mov dword [ebp - 0x4e], eax
test eax, eax
jne 0x422d739
mov edx, 0xfffffffd
lea eax, [ebp - 0x266]
call fcn.0422d435
mov eax, dword [edi + 0x38]
dec eax
mov dword [ebp + 0x3a], eax
lea eax, [edi + 0x78]
mov ebx, dword [ebp - 0x26a]
mov dword [ebp + 0x4a], eax
sub ebx, dword [edi + 0x34]
je 0x422d773
cmp dword [esi + 0x18], 0
jne 0x422d762
lea eax, [ebp - 0x266]
call fcn.0422d41d
mov ecx, dword [ebp - 0x26a]
mov eax, dword [ebp - 0x4e]
mov edx, dword [esi + 0x18]
call fcn.0422dc94
mov eax, dword [esi + 0x18]
add dword [ebp - 0x4e], eax
call dword [ebp - 0x22]
push 0
push 0
push eax
mov dword [ebp - 0x12], eax
call dword [ebp + 6]
mov eax, dword [ebp - 6]
mov dword [0x422d2a8], eax
mov eax, dword [ebp + 0x5a]
mov dword [0x422d2ac], eax
mov eax, dword [esi + 0x20]
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x56], eax
mov eax, dword [ebp - 0x26a]
mov ebx, dword [ebp - 0x56]
add eax, edx
sub ebx, edx
inc eax
lea edx, [ebx - 5]
mov dword [eax], edx
mov eax, dword [ebp + 0x52]
mov dword [ebp + 0x7e], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x5e], 0
mov dword [ebp + 0x16], eax
jmp 0x422d7f6
mov dword [ebp - 0x46], 2
cmp dword [ebp - 0x46], 4
je 0x422d7ef
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c]
je 0x422d7ef
lea eax, [ebp - 0x4a]
push eax
push dword [ebp - 0x46]
push dword [ebp + 0x4e]
push dword [ebp - 0x42]
call dword [ebp + 0x6e]
inc dword [ebp + 0x5e]
add dword [ebp + 0x7e], 0x10
mov eax, dword [ebp + 0x5e]
cmp eax, dword [ebp + 0x16]
jae 0x422d89b
mov eax, dword [ebp + 0x7e]
imul eax, dword [eax], 0x28
mov edx, dword [ebp + 0x1e]
add edx, eax
mov eax, edx
mov dword [ebp + 2], edx
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x7e]
mov dword [ebp - 0x42], edx
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c]
jne 0x422d82e
mov eax, dword [esi + 0x40]
add dword [ebp - 0x42], eax
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax + 8]
mov dword [ebp + 0x4e], eax
lea eax, [ebp - 0x46]
push eax
push 4
push dword [ebp + 0x4e]
push dword [ebp - 0x42]
lea ebx, [ebp - 0x42]
call dword [ebp + 0x6e]
push dword [ebp + 0x6a]
mov ecx, dword [ebp + 0x7e]
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x266]
push dword [ebp + 0x4e]
mov ecx, dword [ecx + 0xc]
call fcn.0422dc2a
mov eax, dword [ebp + 0x7e]
mov edx, dword [ebp + 2]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x24]
and eax, 0x80000000
and edx, 0x80000000
cmp eax, edx
je 0x422d7cf
mov eax, dword [ebp + 0x7e]
test byte [eax + 4], 0x20
je 0x422d7c8
mov dword [ebp - 0x46], 0x20
jmp 0x422d7cf
cmp dword [esi + 0x24], 0
je 0x422d9d2
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x26a]
mov dword [ebp + 0x2e], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x32], eax
mov eax, dword [ebp + 0x4a]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp + 0x4a]
mov dword [ebp - 2], eax
add eax, dword [edx + 0x64]
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x3e]
push eax
push 4
push dword [ebp + 0x32]
push dword [ebp + 0x2e]
call dword [ebp + 0x6e]
mov eax, dword [ebp - 0x26a]
add eax, dword [esi + 0x24]
mov dword [ebp + 0x76], eax
mov dword [ebp - 0xa], eax
jmp 0x422d8ed
add dword [ebp + 0x76], 0x14
mov eax, dword [ebp + 0x76]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x422d9c2
mov edx, dword [ebp + 0x76]
cmp edx, dword [ebp - 0xa]
jbe 0x422d90e
mov ebx, dword [ebp + 0x76]
mov edx, dword [edx + 0x10]
cmp edx, dword [ebx - 4]
je 0x422d8e9
mov edx, dword [ebp - 0x26a]
add edx, eax
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryA]
push edx
mov dword [ebp + 0x56], edx
call dword [eax]
mov dword [ebp - 0x5e], eax
test eax, eax
jne 0x422d936
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x266]
call fcn.0422d2ff
mov eax, dword [ebp + 0x76]
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0x10]
mov dword [ebp + 0x7a], edx
jmp 0x422d975
test eax, 0x80000000
jne 0x422d959
add eax, dword [ebp - 0x26a]
lea ebx, [eax + 2]
jmp 0x422d99e
mov edx, eax
and edx, 0x7fffffff
shr edx, 0x10
and edx, 0xffff
movzx edx, dx
test edx, edx
je 0x422d99b
add dword [ebp + 0x7a], 4
mov eax, dword [ebp + 0x7a]
mov eax, dword [eax]
test eax, eax
je 0x422d8e9
cmp eax, dword [ebp - 2]
jb 0x422d947
cmp eax, dword [ebp - 0x16]
jae 0x422d947
add eax, dword [ebp - 0x26a]
mov edx, dword [ebp + 0x7a]
mov eax, dword [eax]
mov dword [edx], eax
jmp 0x422d971
movzx ebx, ax
push ebx
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
push dword [ebp - 0x5e]
call dword [eax]
mov edx, dword [ebp + 0x7a]
mov dword [edx], eax
test eax, eax
jne 0x422d971
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x266]
call fcn.0422d33b
jmp 0x422d971
lea eax, [ebp - 0x3a]
push eax
push dword [ebp - 0x3e]
push dword [ebp + 0x32]
push dword [ebp + 0x2e]
call dword [ebp + 0x6e]
mov eax, dword [ebp - 0x26a]
sub eax, dword [edi + 0x34]
mov dword [ebp + 0x3e], eax
je 0x422dbb3
cmp dword [esi + 0x30], 0
jne 0x422d9f5
lea eax, [ebp - 0x266]
call fcn.0422d41d
mov dword [ebp - 0x36], 4
mov dword [ebp - 0x32], 0
push dword [ebp + 0x6a]
lea ebx, [ebp - 0x32]
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x266]
push dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
call fcn.0422dc2a
mov ebx, dword [ebp - 0x32]
mov dword [ebp + 0x72], 0
mov eax, ebx
mov dword [ebp + 0x62], 0
add eax, dword [esi + 0x30]
mov edi, dword [ebp - 0x26a]
mov dword [ebp - 0x5a], eax
cmp ebx, dword [ebp - 0x5a]
jb 0x422da7a
jmp 0x422db93
movzx eax, word [ebx]
add eax, 0x101
inc ebx
inc ebx
add edi, eax
jmp 0x422da93
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 2]
shl edx, 0x10
or eax, edx
add eax, 0x10100
add ebx, 3
jmp 0x422da50
add edi, dword [ebx]
add ebx, 4
jmp 0x422da93
mov al, byte [ebx]
inc ebx
cmp al, 1
jb 0x422da89
jbe 0x422da54
cmp al, 2
je 0x422da73
jmp 0x422da8d
test al, al
je 0x422da46
movzx eax, al
inc eax
jmp 0x422da50
cmp edi, dword [ebp + 0x62]
jb 0x422db89
cmp dword [ebp - 0x36], 4
je 0x422dab6
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp + 0x62]
push dword [ebp - 0x36]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
mov eax, edi
sub eax, dword [ebp - 0x26a]
mov dword [ebp + 0x66], 0
mov dword [ebp + 0x36], eax
mov eax, dword [ebp + 0x1e]
jmp 0x422dad3
inc dword [ebp + 0x66]
add eax, 0x28
mov edx, dword [ebp + 0x66]
cmp edx, dword [ebp + 0x2a]
jge 0x422db76
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
ja 0x422daed
mov ecx, dword [eax + 8]
mov dword [ebp + 0x46], ecx
mov ecx, dword [ebp + 0x46]
add ecx, dword [ebp + 0x3a]
mov dword [ebp - 0x2e], ecx
mov ecx, dword [ebp + 0x3a]
mov dword [ebp - 0x2a], ecx
not dword [ebp - 0x2a]
mov ecx, dword [ebp - 0x2e]
and ecx, dword [ebp - 0x2a]
add ecx, edx
mov dword [ebp + 0x22], ecx
cmp edx, dword [ebp + 0x36]
ja 0x422dacd
mov ecx, dword [ebp + 0x36]
cmp ecx, dword [ebp + 0x22]
jae 0x422dacd
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x26a]
mov dword [ebp + 0x26], eax
add ecx, edx
mov edx, dword [ebp - 0x26a]
mov eax, dword [ebp + 0x52]
add edx, dword [ebp + 0x22]
mov dword [ebp + 0x72], ecx
mov dword [ebp + 0x62], edx
xor edx, edx
jmp 0x422db42
inc edx
add eax, 0x10
cmp edx, dword [ebp + 0x16]
jae 0x422db54
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0x66]
jne 0x422db3e
mov eax, dword [eax + 4]
mov dword [ebp + 0x26], eax
test byte [ebp + 0x29], 0x80
jne 0x422db6f
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp + 0x62]
push 4
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
jmp 0x422db76
mov dword [ebp - 0x36], 4
mov eax, dword [ebp + 0x66]
cmp eax, dword [ebp + 0x2a]
jne 0x422db89
lea eax, [ebp - 0x266]
call fcn.0422d2d5
mov eax, dword [ebp + 0x3e]
add dword [edi], eax
jmp 0x422da3c
cmp dword [ebp - 0x36], 4
je 0x422dbad
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp + 0x62]
push dword [ebp - 0x36]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
push dword [ebp - 0x32]
call dword [ebp + 0x5a]
cmp dword [esi + 0x44], 0
je 0x422dbf2
mov eax, dword [ebp + 0x4a]
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0x48]
mov ebx, dword [ebp - 0x26a]
mov edi, dword [edx + 8]
add ebx, dword [esi + 0x44]
mov edi, dword [edi]
mov dword [ebx], edi
mov eax, edx
mov edx, dword [edx + 4]
mov esi, dword [eax]
sub edx, dword [eax]
mov eax, edi
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + eax*4]
mov ecx, edx
mov edi, eax
push edi
repne movsb byte es:[edi], byte [esi]
pop edi
push dword [ebp + 0x12]
call dword [ebp - 0x62]
push dword [ebp + 0xa]
call dword [ebp + 0xe]
push dword [ebp + 0x42]
call dword [ebp + 0xe]
push 0
push 0
push dword [ebp - 0x12]
call dword [ebp + 6]
push dword [ebp + 0x6a]
call dword [ebp + 0x5a]
mov eax, dword [ebp - 0x26a]
add eax, dword [ebp - 0x56]
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret