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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x5c], eax
push esi
xor esi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x4c], ebx
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x40], 1
mov eax, dword [eax + 0x24]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], eax
push edi
test edx, edx
je 0x42278b
cmp edx, dword [ebx + 0xc]
jbe 0x42275a
push edx
mov eax, 0x5391b4
push eax
push ebx
call fcn.00422220
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edi, edx
shr edi, 3
and ecx, 7
add edi, dword [ebx + 8]
mov eax, 1
shl eax, cl
movzx edx, byte [edi]
test edx, eax
je 0x4227a2
mov edx, dword [esp + 0x10]
mov eax, 0x5391cc
push edx
push eax
push ebx
call fcn.00422220
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
bts edx, ecx
mov ecx, dword [esp + 0x10]
mov byte [edi], dl
lea edx, [esp + 0x74]
mov edi, dword [esp + 0x2c]
push 0
mov dword [ebx + 0x1c], 0x5392e4
mov dword [ebx + 0x20], ecx
mov eax, dword [edi]
push edx
push ecx
push eax
mov eax, dword [eax + 0xc8]
call eax
add esp, 0x10
test eax, eax
je 0x4227e7
push eax
push 0x5392f0
push ebx
call fcn.00422220
add esp, 0xc
jmp 0x422ece
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
cmp eax, dword [edx + 4]
je 0x42281b
mov eax, dword [ecx + 4]
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x10]
cmp eax, 1
mov dword [edx + 4], eax
setne al
mov dword [edx + 0x48], ecx
dec al
mov dword [edx + 0x34], edi
and al, 0x64
mov byte [edx + 9], al
mov al, byte [edx]
mov ecx, edx
mov byte [esp + 0x1f], al
mov byte [edx], 0
call fcn.00418210
test eax, eax
je 0x422891
push eax
push 0x539318
push ebx
call fcn.00422220
add esp, 0xc
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x422ec7
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004e59d0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x422ece
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x38]
movzx edi, byte [edx + 9]
mov dword [esp + 0x20], eax
add eax, edi
mov dword [esp + 0x38], eax
mov dword [ebx + 0x1c], 0x539340
mov dl, byte [edx + 8]
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ecx, 8
or ecx, eax
dec ecx
movzx eax, cx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 4]
shl ecx, 8
or ecx, eax
movzx eax, dl
mov dword [esp + 0x18], ecx
mov ecx, 3
sub ecx, eax
mov eax, dword [esp + 0x18]
lea ecx, [edi + ecx*4]
lea eax, [ecx + eax*2]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x48], eax
test dl, dl
jne 0x4229ab
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov edi, dword [ecx + 8]
bswap edi
cmp byte [eax + 0x11], dl
je 0x42298b
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x13]
mov dword [ebx + 0x1c], 0x53935c
push eax
mov edx, edi
call fcn.00417490
add esp, 8
test eax, eax
je 0x42295e
cmp eax, 7
je 0x422946
cmp eax, 0xc0a
jne 0x42294d
mov dword [ebx + 0x18], 1
push edi
push 0x5391e8
push ebx
call fcn.00422220
add esp, 0xc
jmp 0x42298b
mov cl, byte [esp + 0xf]
mov eax, dword [esp + 0x40]
cmp cl, 5
jne 0x422971
cmp eax, dword [esp + 0x10]
je 0x42298b
push eax
movzx eax, cl
push eax
push dword [esp + 0x18]
push 5
push edi
push 0x539208
push ebx
call fcn.00422220
add esp, 0x1c
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov edx, edi
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004226c0
add esp, 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
jmp 0x4229b4
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
mov edx, dword [esp + 0x18]
sub edx, 1
mov dword [esp + 0x18], edx
mov eax, edx
mov dword [esp + 0x40], edx
js 0x422c9d
nop dword [eax + eax]
cmp dword [ebx + 0x10], 0
je 0x422c99
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x24], eax
mov ax, word [edx]
sub edx, 2
mov ch, al
mov dword [esp + 0x48], edx
mov cl, ah
mov eax, dword [esp + 0x34]
movzx edi, cx
add eax, 0xfffffffc
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x60], edi
cmp edi, ecx
jb 0x422c6f
cmp edi, eax
ja 0x422c6f
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x78]
add eax, edi
push ecx
push eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax + 0x50]
call eax
movzx eax, word [esp + 0x96]
add esp, 0xc
add eax, edi
mov edi, dword [esp + 0x34]
cmp eax, edi
jbe 0x422a54
push 0x539398
push ebx
call fcn.00422220
add esp, 8
jmp 0x422c80
mov edx, dword [esp + 0x14]
cmp byte [edx + 2], 0
je 0x422ab0
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
je 0x422a7b
cmp eax, dword [ebp + 0x10]
jl 0x422aa2
jg 0x422a87
cmp ecx, dword [ebp + 0xc]
jbe 0x422aa2
jmp 0x422a87
cmp eax, dword [ebp + 0x10]
jl 0x422aa2
jg 0x422a87
cmp ecx, dword [ebp + 0xc]
jb 0x422aa2
push eax
push ecx
push 0x5393b0
push ebx
call fcn.00422220
mov eax, dword [esp + 0x8c]
add esp, 0x10
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x30], 0
movzx ecx, word [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp eax, ecx
jbe 0x422b71
sub eax, ecx
xor edx, edx
add eax, 0xfffffffb
lea ecx, [edi - 4]
add eax, edi
mov edi, dword [esp + 0x4c]
div ecx
movzx ecx, word [esp + 0x8a]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [ecx + edi - 4]
bswap edi
cmp byte [eax + 0x11], 0
je 0x422b60
mov ecx, dword [ebx]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x13]
mov edx, edi
push eax
call fcn.00417490
add esp, 8
test eax, eax
je 0x422b33
cmp eax, 7
je 0x422b1b
cmp eax, 0xc0a
jne 0x422b22
mov dword [ebx + 0x18], 1
push edi
push 0x5391e8
push ebx
call fcn.00422220
add esp, 0xc
jmp 0x422b60
mov cl, byte [esp + 0xf]
mov eax, dword [esp + 0x54]
cmp cl, 3
jne 0x422b46
cmp eax, dword [esp + 0x10]
je 0x422b60
push eax
movzx eax, cl
push eax
push dword [esp + 0x18]
push 3
push edi
push 0x539208
push ebx
call fcn.00422220
add esp, 0x1c
push dword [esp + 0x58]
xor edx, edx
mov ecx, ebx
push edi
call fcn.004222b0
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x422c36
mov eax, dword [esp + 0x4c]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
bswap edi
cmp byte [eax + 0x11], 0
je 0x422bfc
mov ecx, dword [ebx]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x22]
mov edx, edi
push eax
call fcn.00417490
add esp, 8
test eax, eax
je 0x422bcf
cmp eax, 7
je 0x422bb7
cmp eax, 0xc0a
jne 0x422bbe
mov dword [ebx + 0x18], 1
push edi
push 0x5391e8
push ebx
call fcn.00422220
add esp, 0xc
jmp 0x422bfc
mov cl, byte [esp + 0x1e]
mov eax, dword [esp + 0x5c]
cmp cl, 5
jne 0x422be2
cmp eax, dword [esp + 0x10]
je 0x422bfc
push eax
movzx eax, cl
push eax
push dword [esp + 0x18]
push 5
push edi
push 0x539208
push ebx
call fcn.00422220
add esp, 0x1c
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov edx, edi
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004226c0
mov edi, eax
mov dword [esp + 0x3c], 0
add esp, 0xc
cmp edi, dword [esp + 0x3c]
je 0x422c88
push 0x5393c8
push ebx
call fcn.00422220
add esp, 8
mov dword [esp + 0x3c], edi
jmp 0x422c88
movzx eax, word [esp + 0x8a]
inc dword [esi]
dec eax
mov ecx, dword [esp + 0x60]
add eax, ecx
mov edi, dword [esi]
shl ecx, 0x10
or eax, ecx
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x422c88
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x422c88
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x422c57
jmp 0x422c88
push eax
push ecx
push edi
push 0x539378
push ebx
call fcn.00422220
add esp, 0x14
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x40]
sub eax, 1
mov dword [esp + 0x40], eax
jns 0x4229d0
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x44], 0
mov edi, dword [esp + 0x64]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [ebx + 0x1c], 0
je 0x422eb8
cmp dword [ebx + 0x10], 0
jle 0x42283e
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x422d51
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
test edx, edx
js 0x422d51
mov eax, dword [esp + 0x28]
lea ebx, [eax + edx*2]
mov edx, dword [esp + 0x20]
add ebx, edx
mov ax, word [ebx]
mov ch, al
mov cl, ah
movzx edi, cx
lea eax, [edi + edx]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 0x4c]
call eax
inc dword [esi]
add esp, 8
movzx eax, ax
dec eax
add eax, edi
shl edi, 0x10
or eax, edi
mov edi, dword [esi]
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x422d39
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x422d39
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x422d23
mov eax, dword [esp + 0x18]
sub ebx, 2
mov edx, dword [esp + 0x20]
dec eax
mov dword [esp + 0x18], eax
test eax, eax
jns 0x422cf0
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl edx, 8
or edx, eax
jbe 0x422dcc
mov ebx, dword [esp + 0x20]
nop dword [eax + eax]
movzx ecx, byte [edx + ebx + 2]
lea eax, [edx + ebx]
mov dword [esp + 0x28], eax
movzx eax, byte [eax + 3]
inc dword [esi]
mov edi, dword [esi]
shl ecx, 8
or ecx, eax
lea eax, [edx - 1]
add eax, ecx
shl edx, 0x10
or eax, edx
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x422db6
nop dword [eax]
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x422db6
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x422da0
mov eax, dword [esp + 0x28]
movzx edx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or edx, eax
ja 0x422d70
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
xor edx, edx
mov ecx, dword [esi]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x422e82
mov eax, dword [esi + 4]
mov edi, 1
mov dword [esp + 0x28], eax
mov eax, dword [esi + ecx*4]
mov dword [esi + 4], eax
mov dword [esi + ecx*4], 0xffffffff
mov ecx, 2
dec dword [esi]
cmp dword [esi], ecx
jb 0x422e2e
mov eax, dword [esi + ecx*4 + 4]
lea edx, [ecx + 1]
cmp dword [esi + ecx*4], eax
mov eax, dword [esi + edi*4]
cmovbe edx, ecx
mov ecx, dword [esi + edx*4]
cmp eax, ecx
jb 0x422e2a
mov dword [esi + edi*4], ecx
mov edi, edx
mov dword [esi + edx*4], eax
lea ecx, [edi + edi]
cmp ecx, dword [esi]
jbe 0x422e04
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov eax, edi
mov ecx, dword [esp + 0x24]
shr eax, 0x10
movzx ecx, cx
cmp ecx, eax
jae 0x422e4f
sub eax, ecx
dec eax
add edx, eax
mov eax, edi
mov dword [esp + 0x24], eax
jmp 0x422dd2
mov edi, dword [esp + 0x10]
push edi
push eax
push 0x5393e4
push ebx
call fcn.00422220
mov eax, dword [esp + 0x34]
add esp, 0x10
mov ecx, dword [esp + 0x34]
movzx eax, ax
sub ecx, eax
mov eax, dword [esp + 0x18]
dec eax
add eax, ecx
cmp dword [esi], 0
jne 0x42283e
jmp 0x422e92
mov edi, dword [esp + 0x10]
movzx eax, ax
sub edx, eax
mov eax, dword [esp + 0x34]
dec eax
add eax, edx
mov ecx, dword [esp + 0x38]
movzx ecx, byte [ecx + 7]
cmp eax, ecx
je 0x42283e
push edi
push ecx
push eax
push 0x53940c
push ebx
call fcn.00422220
add esp, 0x14
jmp 0x42283e
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x1f]
mov byte [edx], al
jmp 0x422842
mov ecx, edx
call fcn.0040d5a0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x94]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x70]
pop edi
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x38]
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.004e5962
mov esp, ebp
pop ebp
ret