Function at 0x4423a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x34]
movzx ecx, byte [edi + 7]
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
add edx, eax
cmp byte [edi + 3], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
je 0x442412
cmp edx, 0x80
jae 0x4423ec
mov eax, dword [ebp + 8]
mov byte [ecx + eax], dl
lea eax, [ebx + 1]
jmp 0x442409
mov eax, edx
cdq
push edx
mov edx, dword [ebp + 8]
push eax
lea esi, [ecx + edx]
call fcn.00409d30
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esp, 8
xor ebx, ebx
movzx eax, al
add ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
lea esi, [ecx + eax]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
mov ebx, dword [ebp + 0x10]
ja 0x442436
jb 0x442429
cmp ebx, 0x7f
ja 0x442436
mov al, bl
and al, 0x7f
mov byte [esi], al
mov eax, 1
jmp 0x442474
test eax, eax
ja 0x442460
jb 0x442444
cmp ebx, 0x3fff
ja 0x442460
mov edx, ebx
shrd edx, eax, 7
shr eax, 7
mov al, bl
or dl, 0x80
and al, 0x7f
mov byte [esi + 1], al
mov byte [esi], dl
mov eax, 2
jmp 0x442470
push eax
push ebx
mov ecx, esi
call fcn.00405ed0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x10]
add ecx, eax
cmp byte [edi + 2], 0
je 0x442493
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [ebp + 0x1c], 0
jmp 0x4424a4
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov edx, ebx
movzx ebx, word [edi + 0xa]
cmp edx, ebx
jg 0x4424c9
lea eax, [edx + ecx]
cmp eax, 4
jge 0x4424b9
mov eax, 4
mov esi, dword [ebp + 0x20]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0x24], eax
jmp 0x4424fb
movzx esi, word [edi + 0xc]
mov eax, edx
mov edx, dword [edi + 0x34]
mov edi, dword [edx + 0x24]
xor edx, edx
sub eax, esi
sub edi, 4
div edi
add edx, esi
cmp edx, ebx
jle 0x4424e6
mov edx, esi
mov esi, dword [ebp + 0x20]
mov edi, edx
add edx, ecx
lea eax, [edx + 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
add edx, eax
mov dword [esp + 0x24], edx
cmp dword [esp + 0x10], 0
mov edx, dword [ebp + 8]
lea ebx, [ecx + edx]
jle 0x4426c3
test edi, edi
jne 0x4425df
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
call fcn.0043f820
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
test esi, esi
jne 0x442661
test eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
bswap ecx
mov dword [edx], ecx
je 0x4425ba
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x44259a
add dword [esi + 0x78], 0xffffffff
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov ebx, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov edi, dword [ebx]
push edx
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.0046e8a0
push edx
mov edx, dword [edi + 0x48]
push eax
push ebx
call edx
add esp, 0x10
jmp 0x44259f
call fcn.00409690
cmp dword [esi + 0x78], 0
jne 0x4425ba
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x4425ba
push esi
call fcn.004353d0
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x38]
xor edx, edx
bswap edx
mov dword [ecx], edx
mov ebx, dword [eax + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x24]
add ebx, 4
mov dword [esp + 0x24], ecx
sub edi, 4
mov esi, dword [esp + 0x10]
cmp esi, edi
jle 0x4425e9
mov esi, edi
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x442605
cmp esi, eax
jle 0x4425f7
mov esi, eax
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebx
call sub.msvcrt.dll_memcpy
jmp 0x44260e
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x20]
sub dword [esp + 0x1c], esi
add dword [esp + 0x24], esi
sub eax, esi
add esp, 0xc
add ebx, esi
sub edi, esi
test eax, eax
mov dword [esp + 0x14], eax
jne 0x442639
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
jg 0x44250c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4426c3
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x4426a3
mov ecx, eax
call fcn.00408cd0
jmp 0x4426a8
test eax, eax
je 0x44269a
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x44267a
mov ecx, eax
call fcn.00408cd0
jmp 0x44267f
call fcn.00409690
cmp dword [edi + 0x78], 0
jne 0x44269a
mov ecx, dword [edi + 0xcc]
cmp dword [ecx + 0xc], 0
jne 0x44269a
push edi
call fcn.004353d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00409690
cmp dword [esi + 0x78], 0
jne 0x4426c3
mov edx, dword [esi + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x4426c3
push esi
call fcn.004353d0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret