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

Disassembly:
sub esp, 0x104
mov eax, dword [0x50b0b0]
xor eax, esp
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x110]
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
xor ebp, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], ecx
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0xf4], ebp
mov byte [esp + 0xf8], 0
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x421b9a
pop ebp
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004bf6e8
add esp, 0x104
ret
movzx edx, word [ebx + 0x12]
movzx ecx, byte [ebx + 1]
push esi
push edi
lea esi, [ecx + edx]
cmp esi, 2
jae 0x421bb0
xor edi, edi
jmp 0x421be2
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x421bbf
xor edi, edi
jmp 0x421bd4
cmp eax, esi
jne 0x421bd1
mov eax, dword [esp + 0x128]
lea edi, [eax - 2]
add edi, esi
jmp 0x421bdb
lea edi, [eax - 1]
mov eax, dword [esp + 0x128]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x48], esi
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x421c0a
mov edx, dword [ebx + 0x38]
movzx ecx, byte [ebx + 6]
add edx, 8
add edx, ecx
jmp 0x421c24
mov eax, dword [ebx + 0x40]
movzx edx, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edx, eax
movzx eax, word [ebx + 0x14]
and edx, eax
add edx, dword [ebx + 0x38]
movzx ecx, byte [edx]
lea edi, [esp + 0x84]
movzx eax, byte [edx + 1]
lea edi, [edi + esi*4]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x58], edx
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
push 0
shl ecx, 8
or ecx, eax
push edi
push ecx
push dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], ecx
call fcn.00435700
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x421e1e
mov eax, dword [edi]
mov ebx, esi
movzx ecx, word [eax + 0x12]
movzx eax, byte [eax + 1]
inc eax
add ebp, eax
mov eax, esi
add ebp, ecx
dec esi
mov dword [esp + 0x30], ebp
test eax, eax
je 0x421efb
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
movzx ecx, word [edi + 0x16]
lea eax, [edx + esi]
cmp eax, ecx
jne 0x421d09
cmp byte [edi + 1], 0
je 0x421d09
mov ecx, dword [edi + 0x20]
lea edi, [esi*4]
mov ebx, dword [esp + 0x38]
push ecx
push ebx
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
mov dword [esp + edi + 0x10c], ecx
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x64], edx
call fcn.00424450
movzx eax, ax
add esp, 8
mov dword [esp + edi + 0xa4], eax
mov byte [ebx + 1], 0
jmp 0x421def
movzx eax, byte [edi + 1]
mov ecx, ebx
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, edx
movzx edx, byte [eax + ecx*2 - 1]
movzx eax, byte [eax + ecx*2 - 2]
mov ecx, dword [edi + 0x38]
shl eax, 8
or edx, eax
movzx eax, word [edi + 0x14]
and edx, eax
lea edi, [ebx*4 - 4]
movzx eax, byte [ecx + edx]
add ecx, edx
mov dword [esp + 0x34], edx
shl eax, 8
push ecx
movzx edx, byte [ecx + 1]
push dword [esp + 0x3c]
or edx, eax
mov dword [esp + 0x48], ecx
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
mov dword [esp + edi + 0x10c], ecx
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x64], edx
call fcn.00424450
mov edx, dword [esp + 0x34]
add esp, 8
movzx ebp, ax
mov dword [esp + edi + 0xa4], ebp
test byte [edx + 0x16], 4
je 0x421dca
mov ecx, dword [esp + 0x34]
lea eax, [ecx + ebp]
cmp eax, dword [edx + 0x24]
jg 0x421ec2
mov eax, dword [esp + 0x6c]
push ebp
push dword [esp + 0x44]
add eax, ecx
push eax
call fcn.004c15c0
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov eax, dword [esp + 0x6c]
sub eax, dword [ecx + 0x38]
add eax, dword [esp + 0x40]
mov dword [esp + edi + 0x104], eax
jmp 0x421dce
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [ecx + 1]
sub ebx, eax
mov eax, dword [esp + 0x54]
dec eax
push ebp
add eax, ebx
push eax
push ecx
call fcn.0042bcc0
mov ebp, dword [esp + 0x40]
add esp, 0x10
lea eax, [esp + 0x84]
add edi, eax
mov eax, dword [esp + 0x24]
push 0
push edi
push eax
push dword [esp + 0x38]
call fcn.00435700
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edx
test edx, edx
je 0x421c78
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004c20c0
add esp, 0xc
push dword [esp + 0x3c]
call fcn.0046c410
mov esi, dword [esp + 0x50]
add esp, 4
xor ebp, ebp
test esi, esi
jle 0x422b97
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + ebp*4 + 0x84]
test ecx, ecx
je 0x422b8e
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x422b6a
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004bfab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x5c]
add esp, 0x10
jmp 0x422b73
push 0x4f408c
push 0xe9ce
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0041e160
lea eax, [edi + 4]
mov dword [esp + 0x24], 0xb
push eax
lea eax, [esp + 0x98]
push 0
push eax
call fcn.004c20c0
add esp, 0x1c
jmp 0x421e38
mov eax, dword [esp + 0x2c]
lea esi, [ebp + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
push eax
call fcn.0046c4e0
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x421f2c
mov dword [esp + 0x14], 7
jmp 0x421e38
mov ecx, dword [esp + 0x84]
lea edi, [eax + esi*4]
xor ebx, ebx
mov dword [esp + 0x28], edi
lea esi, [edi + esi*2]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], esi
movzx eax, byte [ecx + 5]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x54], eax
mov al, byte [ecx + 3]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x34], eax
cmp dword [esp + 0x4c], ebx
jle 0x42213e
nop
lea eax, [ebx*4]
mov edi, dword [esp + eax + 0x84]
mov dword [esp + 0x68], eax
mov dl, byte [edi + 1]
movzx ebp, word [edi + 0x12]
movzx eax, dl
add ebp, eax
mov dword [esp + 0x60], ebp
test dl, dl
je 0x422018
xor ebx, ebx
test ebp, ebp
je 0x422072
movzx eax, byte [edi + 1]
mov ecx, ebx
sub eax, 1
js 0x421fc7
lea esi, [eax + 0xb]
lea esi, [edi + esi*2]
movzx edx, word [esi]
cmp edx, ecx
jg 0x421fbf
je 0x422012
dec ecx
sub esi, 2
sub eax, 1
jns 0x421fb5
mov eax, dword [edi + 0x40]
movzx edx, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edx, eax
movzx eax, word [edi + 0x14]
and edx, eax
add edx, dword [edi + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
push edx
push edi
mov dword [ecx + eax*4], edx
call fcn.00424450
mov edx, dword [esp + 0x28]
inc ebx
mov ecx, dword [esp + 0x30]
add esp, 8
mov word [ecx + edx*2], ax
inc edx
mov dword [esp + 0x20], edx
cmp ebx, ebp
jl 0x421fa4
mov esi, dword [esp + 0x40]
jmp 0x422076
mov edx, dword [edi + eax*4 + 0x20]
jmp 0x421fe1
mov ebx, dword [edi + 0x38]
movzx eax, word [edi + 0x14]
movzx ecx, word [edi + 0xe]
mov edx, dword [esp + 0x20]
test ebp, ebp
je 0x422076
mov ebp, eax
lea esi, [ebx + ecx]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x3c]
and eax, ebp
add eax, ebx
push eax
push edi
mov dword [ecx + edx*4], eax
call fcn.00424450
mov edx, dword [esp + 0x28]
lea esi, [esi + 2]
mov ecx, dword [esp + 0x30]
add esp, 8
mov word [ecx + edx*2], ax
inc edx
sub dword [esp + 0x60], 1
mov dword [esp + 0x20], edx
jne 0x422030
mov esi, dword [esp + 0x40]
jmp 0x422076
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
mov dword [esp + ecx + 0xe8], edx
cmp ebx, dword [esp + 0x48]
jge 0x422127
cmp byte [esp + 0x13], 0
jne 0x422127
movzx eax, word [esp + ecx + 0xa4]
mov ebp, dword [esp + 0x28]
push eax
push dword [esp + ecx + 0x108]
mov word [ebp + edx*2], ax
mov ebp, dword [esp + 0x4c]
add esi, ebp
add ebp, eax
push esi
mov dword [esp + 0x50], ebp
call fcn.004c15c0
mov eax, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x28]
mov dword [ecx + edx*4], eax
mov ax, word [esi + edx*2]
sub ax, word [esp + 0x54]
mov word [esi + edx*2], ax
cmp byte [edi + 5], 0
movzx ecx, ax
jne 0x422107
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x422122
cmp ecx, 4
jae 0x422122
mov eax, dword [esp + 0x40]
mov byte [eax + ebp], 0
inc ebp
mov eax, 4
mov dword [esp + 0x44], ebp
mov word [esi + edx*2], ax
inc edx
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x40]
inc ebx
mov dword [esp + 0x30], ebx
cmp ebx, dword [esp + 0x4c]
jl 0x421f70
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
xor ebx, ebx
mov ebp, dword [esp + 0x20]
xor edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x2c]
add ecx, 0xfffffff4
mov esi, dword [eax + 0x24]
add esi, ecx
xor ecx, ecx
mov dword [esp + 0x40], esi
test ebp, ebp
jle 0x4221a0
movzx eax, word [edi + ecx*2]
add edx, 2
add edx, eax
cmp edx, esi
jle 0x42219b
sub edx, eax
mov dword [esp + ebx*4 + 0x90], ecx
sub edx, 2
mov dword [esp + ebx*4 + 0xa4], edx
inc ebx
xor edx, edx
cmp ebx, 4
jg 0x422251
cmp byte [esp + 0x13], dl
lea eax, [ecx - 1]
cmove eax, ecx
mov ecx, eax
inc ecx
cmp ecx, ebp
jl 0x422163
mov eax, ebx
mov dword [esp + ebx*4 + 0xa4], edx
mov dword [esp + ebx*4 + 0x90], ebp
inc ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ebx
test eax, eax
jle 0x422298
mov edi, dword [esp + eax*4 + 0xa0]
lea ecx, [esp + 0xa4]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov ebp, dword [esp + eax*4 + 0x8c]
mov dword [esp + 0x68], ecx
lea ecx, [esp + eax*4 + 0xa0]
lea eax, [esp + eax*4 + 0x8c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], eax
lea ebx, [ebp - 1]
mov esi, ebx
sub esi, dword [esp + 0x34]
inc esi
test edx, edx
je 0x42222e
cmp dword [esp + 0x128], 0
jne 0x422277
mov eax, dword [esp + 0x28]
mov ecx, edi
movzx eax, word [eax + ebx*2]
sub ecx, eax
mov eax, dword [esp + 0x28]
sub ecx, 2
movzx eax, word [eax + esi*2]
add eax, 2
add eax, edx
cmp eax, ecx
jg 0x422277
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + esi*2]
add eax, 2
add edx, eax
movzx eax, word [ecx + ebx*2]
mov ecx, 0xfffffffe
sub ecx, eax
mov eax, dword [esp + 0x48]
add edi, ecx
dec ebp
mov dword [eax], ebp
jmp 0x4221f6
push 0x4f408c
push 0xea58
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0041e160
add esp, 0x10
mov dword [esp + 0x14], 0xb
jmp 0x421e38
mov eax, dword [esp + 0x68]
mov dword [eax], edx
mov eax, dword [esp + 0x60]
mov dword [eax], edi
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
test eax, eax
jg 0x4221c1
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x48], 1
ja 0x4222b1
push 0x4f408c
push 0xea93
jmp 0x42225b
mov eax, dword [eax + 0x38]
xor esi, esi
movzx eax, byte [eax]
lea ebp, [esi + 1]
mov dword [esp + 0x30], eax
test ebx, ebx
jle 0x4223ca
cmp esi, dword [esp + 0x4c]
jge 0x422327
mov eax, dword [esp + esi*4 + 0x84]
mov dword [esp + esi*4 + 0x70], eax
mov dword [esp + esi*4 + 0x84], 0
mov dword [esp + 0x34], eax
mov edx, dword [eax + 0x44]
push edx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
jbe 0x422304
call fcn.0043d8f0
jmp 0x422309
call fcn.0043ea90
inc dword [esp + 0x1c]
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x421e38
jmp 0x4223c1
cmp dword [esp + 0x128], 0
mov eax, dword [esp + 0x24]
push 0
cmovne eax, ebp
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x3c]
call fcn.0041f160
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x421e38
push dword [esp + 0x30]
mov edi, dword [esp + 0x38]
push edi
call fcn.004970a0
mov ecx, dword [esp + 0x34]
add esp, 8
inc dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + esi*4 + 0x70], edi
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0xe8], eax
je 0x4223b9
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x48]
push 5
push dword [edi + 0x48]
push ecx
call fcn.00440e80
mov edi, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
jne 0x421e38
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
inc esi
cmp esi, ebx
jl 0x4222c8
mov edi, dword [esp + 0x18]
xor ecx, ecx
test edi, edi
jle 0x422632
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x70]
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
mov dword [esp + ecx*4 + 0xd0], edx
mov dword [esp + ecx*4 + 0xb8], edx
mov ax, word [eax + 0x18]
mov word [esp + ecx*2 + 0x104], ax
xor eax, eax
test ecx, ecx
je 0x422422
nop word [eax + eax]
cmp dword [esp + eax*4 + 0xd0], edx
je 0x4224ef
inc eax
cmp eax, ecx
jl 0x422410
inc ecx
cmp ecx, edi
jl 0x4223e0
xor ebp, ebp
nop dword [eax]
xor ebx, ebx
lea ecx, [ebx + 1]
cmp edi, ecx
jle 0x422460
xor esi, esi
nop dword [eax + eax]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xb8]
cmp eax, dword [esp + esi + 0xb8]
jae 0x42245b
mov ebx, ecx
mov esi, edx
inc ecx
cmp ecx, edi
jl 0x422440
mov eax, dword [esp + ebx*4 + 0xb8]
mov dword [esp + 0x48], eax
mov dword [esp + ebx*4 + 0xb8], 0xffffffff
cmp ebx, ebp
je 0x422629
jle 0x42255d
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x2c]
mov eax, dword [esp + ebx*4 + 0x70]
inc esi
add esi, ebx
push esi
mov edi, dword [eax + 0x44]
xor eax, eax
push dword [edi + 0x14]
mov word [edi + 0x18], ax
mov eax, dword [edi + 0x1c]
push dword [edi]
push dword [eax + 0x28]
call dword [0x50a08c]
mov al, byte [edi + 0x18]
add esp, 0x10
and al, 6
mov dword [edi + 0x14], esi
cmp al, 6
jne 0x422559
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 8], edi
jne 0x4224e0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4224dd
nop
test byte [eax + 0x18], 4
je 0x4224dd
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4224d0
mov dword [ecx + 8], eax
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
test edx, edx
je 0x4224fe
mov dword [edx + 0x24], eax
jmp 0x422501
push 0x4f408c
push 0xeaca
jmp 0x42225b
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
test edx, edx
je 0x422510
mov dword [edx + 0x20], eax
jmp 0x42251f
mov dword [ecx], eax
test eax, eax
jne 0x42251f
cmp byte [ecx + 0x1c], al
je 0x42251f
mov byte [ecx + 0x1d], 2
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [ecx]
mov dword [edi + 0x20], eax
test eax, eax
je 0x42253b
mov dword [eax + 0x24], edi
jmp 0x422548
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], edi
je 0x422548
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], edi
jne 0x422559
test byte [edi + 0x18], 4
jne 0x422559
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x18]
mov eax, dword [esp + ebp*4 + 0x70]
mov esi, dword [eax + 0x44]
mov ax, word [esp + ebx*2 + 0x104]
mov ebx, dword [esp + 0x48]
push ebx
push dword [esi + 0x14]
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x1c]
push dword [esi]
push dword [eax + 0x28]
call dword [0x50a08c]
mov al, byte [esi + 0x18]
add esp, 0x10
and al, 6
mov dword [esi + 0x14], ebx
cmp al, 6
jne 0x422622
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x4225b8
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4225b5
test byte [eax + 0x18], 4
je 0x4225b5
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4225a8
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
test edx, edx
je 0x4225c7
mov dword [edx + 0x24], eax
jmp 0x4225ca
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
test edx, edx
je 0x4225d9
mov dword [edx + 0x20], eax
jmp 0x4225e8
mov dword [ecx], eax
test eax, eax
jne 0x4225e8
cmp byte [ecx + 0x1c], al
je 0x4225e8
mov byte [ecx + 0x1d], 2
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
test eax, eax
je 0x422604
mov dword [eax + 0x24], esi
jmp 0x422611
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], esi
je 0x422611
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], esi
jne 0x422622
test byte [esi + 0x18], 4
jne 0x422622
mov dword [ecx + 8], esi
mov eax, dword [esp + ebp*4 + 0x70]
mov dword [eax + 0x48], ebx
inc ebp
cmp ebp, edi
jl 0x422430
mov eax, dword [esp + edi*4 + 0x6c]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x48]
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
test byte [esp + 0x30], 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
jne 0x422688
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
je 0x422688
lea edx, [esp + 0x84]
lea eax, [esp + 0x70]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + edi*4 + 0x6c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x70]
cmp byte [ebx + 0x11], 0
je 0x422841
movzx eax, byte [esi + 1]
xor ebp, ebp
movzx edx, word [esi + 0x12]
mov ecx, dword [esi + 0x38]
add edx, eax
mov eax, dword [ebx + 0x24]
xor ebx, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], 0
cmp dword [esp + 0x20], ebx
jle 0x422841
xor eax, eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov edi, dword [edi + ebx*4]
cmp ebx, edx
jne 0x422719
inc ebp
cmp ebp, dword [esp + 0x18]
jge 0x4226ea
mov edx, dword [esp + ebp*4 + 0x70]
jmp 0x4226f1
mov edx, dword [esp + ebp*4 + 0x84]
movzx eax, byte [edx + 1]
movzx ecx, word [edx + 0x12]
add ecx, eax
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [edx + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
cmp ebx, dword [esp + eax + 0x90]
jne 0x422741
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
shl eax, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x24], eax
mov esi, dword [esp + eax + 0x70]
je 0x422826
cmp ebp, dword [esp + 0x18]
jge 0x422765
mov eax, dword [esi + 0x48]
cmp eax, dword [esp + ebp*4 + 0xd0]
jne 0x422765
cmp edi, ecx
jb 0x422765
mov eax, dword [esp + 0x48]
add eax, ecx
cmp edi, eax
jb 0x422822
cmp word [esp + 0x54], 0
jne 0x4227ac
movzx ecx, byte [edi]
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [edi + 1]
push dword [esi + 0x48]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
push 5
or ecx, eax
push ecx
push dword [esp + 0x3c]
call fcn.00440e80
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], ecx
jmp 0x4227b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ax, word [eax + ebx*2]
cmp ax, word [esi + 0xc]
jbe 0x422822
test ecx, ecx
jne 0x422822
lea eax, [esp + 0xb8]
push eax
push edi
push esi
call fcn.00423fc0
mov ax, word [esp + 0xd6]
add esp, 0xc
test ax, ax
je 0x422822
movzx edx, ax
lea eax, [esp + 0x1c]
add edx, edi
push eax
push dword [esi + 0x48]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
push 3
or ecx, eax
push ecx
push dword [esi + 0x34]
call fcn.00440e80
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
inc ebx
mov edx, dword [esp + 0x44]
cmp ebx, dword [esp + 0x20]
jl 0x4226d2
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
xor ebx, ebx
test eax, eax
jle 0x422980
nop
mov eax, dword [esp + ebx*4 + 0x90]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + eax*4]
mov ebp, dword [esp + ebx*4 + 0x70]
mov edi, dword [esp + 0x64]
add edi, dword [esp + 0x6c]
movzx eax, word [edx + eax*2]
mov esi, dword [ecx]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x54]
movzx edx, bp
mov ebp, dword [esp + 0x48]
add edx, eax
cmp byte [ebp + 5], 0
jne 0x422898
mov ecx, dword [ebp + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x42293a
cmp byte [esp + 0x13], 0
je 0x422922
lea eax, [esp + 0xd0]
push eax
push dword [ecx - 4]
push ebp
call fcn.00423fc0
mov edx, dword [esp + 0xe0]
mov esi, edi
mov ecx, dword [esp + 0xdc]
add esp, 0xc
add edi, 4
test edx, edx
ja 0x422910
jb 0x4228d5
cmp ecx, 0x7f
ja 0x4228e6
mov eax, 1
and cl, 0x7f
mov byte [edi], cl
xor edi, edi
lea edx, [eax + 4]
jmp 0x42293a
test edx, edx
ja 0x422910
jb 0x4228f4
cmp ecx, 0x3fff
ja 0x422910
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [edi + 1], cl
or al, 0x80
mov byte [edi], al
mov eax, 2
xor edi, edi
lea edx, [eax + 4]
jmp 0x42293a
push edx
push ecx
push edi
call fcn.004413d0
add esp, 0xc
xor edi, edi
lea edx, [eax + 4]
jmp 0x42293a
sub esi, 4
cmp eax, 4
jne 0x42293a
push esi
push dword [esp + 0x3c]
call fcn.00424450
add esp, 8
movzx edx, ax
add dword [esp + 0x64], edx
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x48]
mov eax, dword [esp + 0x58]
push edi
push edx
push esi
add eax, ebx
push eax
push dword [esp + 0x50]
call fcn.004364a0
mov esi, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x14], esi
test esi, esi
jne 0x421e38
mov edi, dword [esp + 0x18]
inc ebx
lea eax, [edi - 1]
cmp ebx, eax
jl 0x422850
mov esi, dword [esp + 0x70]
mov ebx, 1
sub ebx, edi
cmp ebx, edi
jge 0x422a5b
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0x40]
nop word [eax + eax]
mov eax, ebx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0xfc], 0
jne 0x422a48
test ebx, ebx
jns 0x4229cf
mov eax, dword [esp + esi*4 + 0xe4]
cmp eax, dword [esp + esi*4 + 0x8c]
jl 0x422a48
test esi, esi
jne 0x4229db
xor eax, eax
mov edx, edi
xor ecx, ecx
jmp 0x422a10
cmp esi, dword [esp + 0x4c]
jge 0x4229f3
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + esi*4 + 0xe4]
jmp 0x4229f7
mov eax, dword [esp + 0x20]
mov edx, dword [esp + esi*4 + 0x90]
xor ecx, ecx
cmp byte [esp + 0x13], cl
sete cl
add ecx, dword [esp + esi*4 + 0x8c]
sub edx, ecx
push dword [esp + 0x28]
push dword [esp + 0x40]
push edx
push ecx
push eax
push dword [esp + esi*4 + 0x84]
call fcn.0042bf50
mov eax, dword [esp + esi*4 + 0x88]
mov cx, bp
add esp, 0x18
mov byte [esp + esi + 0xfc], 1
sub cx, word [esp + esi*4 + 0xa4]
mov word [eax + 0x10], cx
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x4229a0
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x124], 0
je 0x422ac1
mov ebx, dword [esp + 0x38]
cmp word [ebx + 0x12], 0
jne 0x422ac1
movzx eax, byte [ebx + 6]
cmp ax, word [esi + 0x10]
ja 0x422ac1
push esi
call fcn.0042b510
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x7c]
call fcn.0042abb0
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x422b2d
mov eax, dword [esp + 0x70]
push dword [eax + 0x48]
push eax
push dword [eax + 0x34]
call fcn.004335e0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
jmp 0x422b2d
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + 0x11], 0
je 0x422b29
cmp word [esp + 0x54], 0
jne 0x422b29
xor esi, esi
test edi, edi
jle 0x422b29
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x70]
lea ecx, [esp + 0x1c]
push ecx
mov edx, dword [eax + 0x38]
push dword [eax + 0x48]
push 5
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
push ecx
push ebx
call fcn.00440e80
inc esi
add esp, 0x14
cmp esi, edi
jl 0x422ae0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
jmp 0x422b2d
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x4c]
cmp esi, ebp
jge 0x421e38
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x84]
test edi, edi
jne 0x422b5c
push dword [eax + 0x48]
push eax
push dword [eax + 0x34]
call fcn.004335e0
add esp, 0xc
mov edi, eax
inc esi
cmp esi, ebp
jl 0x422b40
mov dword [esp + 0x14], edi
jmp 0x421e38
push ecx
call fcn.00465860
add esp, 4
cmp dword [ebx + 0x78], 0
jne 0x422b8e
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x422b8e
push ebx
call fcn.0043d7a0
add esp, 4
inc ebp
cmp ebp, esi
jl 0x421e60
mov esi, dword [esp + 0x18]
xor ebp, ebp
test esi, esi
jle 0x422c22
mov ecx, dword [esp + ebp*4 + 0x70]
test ecx, ecx
je 0x422c1d
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x422bf9
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004bfab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x28]
add esp, 0x10
jmp 0x422c02
push ecx
call fcn.00465860
add esp, 4
cmp dword [ebx + 0x78], 0
jne 0x422c1d
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x422c1d
push ebx
call fcn.0043d7a0
add esp, 4
inc ebp
cmp ebp, esi
jl 0x422ba5
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bf6e8
add esp, 0x104
ret