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

Disassembly:
sub esp, 0x104
mov eax, dword [0x50a0b0]
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 0x421a7a
pop ebp
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004bf929
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 0x421a90
xor edi, edi
jmp 0x421ac2
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x421a9f
xor edi, edi
jmp 0x421ab4
cmp eax, esi
jne 0x421ab1
mov eax, dword [esp + 0x128]
lea edi, [eax - 2]
add edi, esi
jmp 0x421abb
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 0x421aea
mov edx, dword [ebx + 0x38]
movzx ecx, byte [ebx + 6]
add edx, 8
add edx, ecx
jmp 0x421b04
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.00435510
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x421cfe
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 0x421ddb
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
movzx ecx, word [edi + 0x16]
lea eax, [edx + esi]
cmp eax, ecx
jne 0x421be9
cmp byte [edi + 1], 0
je 0x421be9
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.00424330
movzx eax, ax
add esp, 8
mov dword [esp + edi + 0xa4], eax
mov byte [ebx + 1], 0
jmp 0x421ccf
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.00424330
mov edx, dword [esp + 0x34]
add esp, 8
movzx ebp, ax
mov dword [esp + edi + 0xa4], ebp
test byte [edx + 0x16], 4
je 0x421caa
mov ecx, dword [esp + 0x34]
lea eax, [ecx + ebp]
cmp eax, dword [edx + 0x24]
jg 0x421da2
mov eax, dword [esp + 0x6c]
push ebp
push dword [esp + 0x44]
add eax, ecx
push eax
call fcn.004c1700
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 0x421cae
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.0042bb70
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.00435510
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edx
test edx, edx
je 0x421b58
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004c2200
add esp, 0xc
push dword [esp + 0x3c]
call fcn.0046c250
mov esi, dword [esp + 0x50]
add esp, 4
xor ebp, ebp
test esi, esi
jle 0x422a77
jmp 0x421d40
mov ecx, dword [esp + ebp*4 + 0x84]
test ecx, ecx
je 0x422a6e
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x422a4a
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.004bfcf0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x5c]
add esp, 0x10
jmp 0x422a53
push 0x4f308c
push 0xe9ce
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0041e040
lea eax, [edi + 4]
mov dword [esp + 0x24], 0xb
push eax
lea eax, [esp + 0x98]
push 0
push eax
call fcn.004c2200
add esp, 0x1c
jmp 0x421d18
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.0046c320
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x421e0c
mov dword [esp + 0x14], 7
jmp 0x421d18
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 0x42201e
mov edi, edi
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 0x421ef8
xor ebx, ebx
test ebp, ebp
je 0x421f52
movzx eax, byte [edi + 1]
mov ecx, ebx
sub eax, 1
js 0x421ea7
lea esi, [eax + 0xb]
lea esi, [edi + esi*2]
movzx edx, word [esi]
cmp edx, ecx
jg 0x421e9f
je 0x421ef2
dec ecx
sub esi, 2
sub eax, 1
jns 0x421e95
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.00424330
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 0x421e84
mov esi, dword [esp + 0x40]
jmp 0x421f56
mov edx, dword [edi + eax*4 + 0x20]
jmp 0x421ec1
mov ebx, dword [edi + 0x38]
movzx eax, word [edi + 0x14]
movzx ecx, word [edi + 0xe]
mov edx, dword [esp + 0x20]
test ebp, ebp
je 0x421f56
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.00424330
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 0x421f10
mov esi, dword [esp + 0x40]
jmp 0x421f56
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 0x422007
cmp byte [esp + 0x13], 0
jne 0x422007
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.004c1700
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 0x421fe7
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 0x422002
cmp ecx, 4
jae 0x422002
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 0x421e50
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 0x422080
movzx eax, word [edi + ecx*2]
add edx, 2
add edx, eax
cmp edx, esi
jle 0x42207b
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 0x422131
cmp byte [esp + 0x13], dl
lea eax, [ecx - 1]
cmove eax, ecx
mov ecx, eax
inc ecx
cmp ecx, ebp
jl 0x422043
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 0x422178
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 0x42210e
cmp dword [esp + 0x128], 0
jne 0x422157
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 0x422157
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 0x4220d6
push 0x4f308c
push 0xea58
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0041e040
add esp, 0x10
mov dword [esp + 0x14], 0xb
jmp 0x421d18
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 0x4220a1
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x48], 1
ja 0x422191
push 0x4f308c
push 0xea93
jmp 0x42213b
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 0x4222aa
cmp esi, dword [esp + 0x4c]
jge 0x422207
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 0x4221e4
call fcn.0043d790
jmp 0x4221e9
call fcn.0043e930
inc dword [esp + 0x1c]
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x421d18
jmp 0x4222a1
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.0041f040
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x421d18
push dword [esp + 0x30]
mov edi, dword [esp + 0x38]
push edi
call fcn.004975c0
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 0x422299
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.00440f90
mov edi, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
jne 0x421d18
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
inc esi
cmp esi, ebx
jl 0x4221a8
mov edi, dword [esp + 0x18]
xor ecx, ecx
test edi, edi
jle 0x422512
jmp 0x4222c0
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 0x422302
lea ebx, [ebx]
cmp dword [esp + eax*4 + 0xd0], edx
je 0x4223cf
inc eax
cmp eax, ecx
jl 0x4222f0
inc ecx
cmp ecx, edi
jl 0x4222c0
xor ebp, ebp
lea esp, [esp]
xor ebx, ebx
lea ecx, [ebx + 1]
cmp edi, ecx
jle 0x422340
xor esi, esi
jmp 0x422320
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xb8]
cmp eax, dword [esp + esi + 0xb8]
jae 0x42233b
mov ebx, ecx
mov esi, edx
inc ecx
cmp ecx, edi
jl 0x422320
mov eax, dword [esp + ebx*4 + 0xb8]
mov dword [esp + 0x48], eax
mov dword [esp + ebx*4 + 0xb8], 0xffffffff
cmp ebx, ebp
je 0x422509
jle 0x42243d
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 [0x50908c]
mov al, byte [edi + 0x18]
add esp, 0x10
and al, 6
mov dword [edi + 0x14], esi
cmp al, 6
jne 0x422439
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 8], edi
jne 0x4223c0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4223bd
nop
test byte [eax + 0x18], 4
je 0x4223bd
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4223b0
mov dword [ecx + 8], eax
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
test edx, edx
je 0x4223de
mov dword [edx + 0x24], eax
jmp 0x4223e1
push 0x4f308c
push 0xeaca
jmp 0x42213b
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
test edx, edx
je 0x4223f0
mov dword [edx + 0x20], eax
jmp 0x4223ff
mov dword [ecx], eax
test eax, eax
jne 0x4223ff
cmp byte [ecx + 0x1c], al
je 0x4223ff
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 0x42241b
mov dword [eax + 0x24], edi
jmp 0x422428
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], edi
je 0x422428
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], edi
jne 0x422439
test byte [edi + 0x18], 4
jne 0x422439
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 [0x50908c]
mov al, byte [esi + 0x18]
add esp, 0x10
and al, 6
mov dword [esi + 0x14], ebx
cmp al, 6
jne 0x422502
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x422498
mov eax, dword [esi + 0x24]
test eax, eax
je 0x422495
test byte [eax + 0x18], 4
je 0x422495
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x422488
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
test edx, edx
je 0x4224a7
mov dword [edx + 0x24], eax
jmp 0x4224aa
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
test edx, edx
je 0x4224b9
mov dword [edx + 0x20], eax
jmp 0x4224c8
mov dword [ecx], eax
test eax, eax
jne 0x4224c8
cmp byte [ecx + 0x1c], al
je 0x4224c8
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 0x4224e4
mov dword [eax + 0x24], esi
jmp 0x4224f1
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], esi
je 0x4224f1
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], esi
jne 0x422502
test byte [esi + 0x18], 4
jne 0x422502
mov dword [ecx + 8], esi
mov eax, dword [esp + ebp*4 + 0x70]
mov dword [eax + 0x48], ebx
inc ebp
cmp ebp, edi
jl 0x422310
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 0x422568
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
je 0x422568
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 0x422721
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 0x422721
xor eax, eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov edi, dword [edi + ebx*4]
cmp ebx, edx
jne 0x4225f9
inc ebp
cmp ebp, dword [esp + 0x18]
jge 0x4225ca
mov edx, dword [esp + ebp*4 + 0x70]
jmp 0x4225d1
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 0x422621
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 0x422706
cmp ebp, dword [esp + 0x18]
jge 0x422645
mov eax, dword [esi + 0x48]
cmp eax, dword [esp + ebp*4 + 0xd0]
jne 0x422645
cmp edi, ecx
jb 0x422645
mov eax, dword [esp + 0x48]
add eax, ecx
cmp edi, eax
jb 0x422702
cmp word [esp + 0x54], 0
jne 0x42268c
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.00440f90
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], ecx
jmp 0x422690
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ax, word [eax + ebx*2]
cmp ax, word [esi + 0xc]
jbe 0x422702
test ecx, ecx
jne 0x422702
lea eax, [esp + 0xb8]
push eax
push edi
push esi
call fcn.00423ea0
mov ax, word [esp + 0xd6]
add esp, 0xc
test ax, ax
je 0x422702
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.00440f90
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 0x4225b2
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
xor ebx, ebx
test eax, eax
jle 0x422860
mov edi, edi
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 0x422778
mov ecx, dword [ebp + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x42281a
cmp byte [esp + 0x13], 0
je 0x422802
lea eax, [esp + 0xd0]
push eax
push dword [ecx - 4]
push ebp
call fcn.00423ea0
mov edx, dword [esp + 0xe0]
mov esi, edi
mov ecx, dword [esp + 0xdc]
add esp, 0xc
add edi, 4
test edx, edx
ja 0x4227f0
jb 0x4227b5
cmp ecx, 0x7f
ja 0x4227c6
mov eax, 1
and cl, 0x7f
mov byte [edi], cl
xor edi, edi
lea edx, [eax + 4]
jmp 0x42281a
test edx, edx
ja 0x4227f0
jb 0x4227d4
cmp ecx, 0x3fff
ja 0x4227f0
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 0x42281a
push edx
push ecx
push edi
call fcn.004414e0
add esp, 0xc
xor edi, edi
lea edx, [eax + 4]
jmp 0x42281a
sub esi, 4
cmp eax, 4
jne 0x42281a
push esi
push dword [esp + 0x3c]
call fcn.00424330
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.00436300
mov esi, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x14], esi
test esi, esi
jne 0x421d18
mov edi, dword [esp + 0x18]
inc ebx
lea eax, [edi - 1]
cmp ebx, eax
jl 0x422730
mov esi, dword [esp + 0x70]
mov ebx, 1
sub ebx, edi
cmp ebx, edi
jge 0x42293b
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0x40]
lea ebx, [ebx]
mov eax, ebx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0xfc], 0
jne 0x422928
test ebx, ebx
jns 0x4228af
mov eax, dword [esp + esi*4 + 0xe4]
cmp eax, dword [esp + esi*4 + 0x8c]
jl 0x422928
test esi, esi
jne 0x4228bb
xor eax, eax
mov edx, edi
xor ecx, ecx
jmp 0x4228f0
cmp esi, dword [esp + 0x4c]
jge 0x4228d3
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + esi*4 + 0xe4]
jmp 0x4228d7
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.0042be00
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 0x422880
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x124], 0
je 0x4229a1
mov ebx, dword [esp + 0x38]
cmp word [ebx + 0x12], 0
jne 0x4229a1
movzx eax, byte [ebx + 6]
cmp ax, word [esi + 0x10]
ja 0x4229a1
push esi
call fcn.0042b3d0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x7c]
call fcn.0042aa70
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x422a0d
mov eax, dword [esp + 0x70]
push dword [eax + 0x48]
push eax
push dword [eax + 0x34]
call fcn.004333f0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
jmp 0x422a0d
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + 0x11], 0
je 0x422a09
cmp word [esp + 0x54], 0
jne 0x422a09
xor esi, esi
test edi, edi
jle 0x422a09
lea esp, [esp]
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.00440f90
inc esi
add esp, 0x14
cmp esi, edi
jl 0x4229c0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
jmp 0x422a0d
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x4c]
cmp esi, ebp
jge 0x421d18
lea ecx, [ecx]
mov eax, dword [esp + esi*4 + 0x84]
test edi, edi
jne 0x422a3c
push dword [eax + 0x48]
push eax
push dword [eax + 0x34]
call fcn.004333f0
add esp, 0xc
mov edi, eax
inc esi
cmp esi, ebp
jl 0x422a20
mov dword [esp + 0x14], edi
jmp 0x421d18
push ecx
call fcn.00465650
add esp, 4
cmp dword [ebx + 0x78], 0
jne 0x422a6e
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x422a6e
push ebx
call fcn.0043d640
add esp, 4
inc ebp
cmp ebp, esi
jl 0x421d40
mov esi, dword [esp + 0x18]
xor ebp, ebp
test esi, esi
jle 0x422b02
mov ecx, dword [esp + ebp*4 + 0x70]
test ecx, ecx
je 0x422afd
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x422ad9
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.004bfcf0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x28]
add esp, 0x10
jmp 0x422ae2
push ecx
call fcn.00465650
add esp, 4
cmp dword [ebx + 0x78], 0
jne 0x422afd
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x422afd
push ebx
call fcn.0043d640
add esp, 4
inc ebp
cmp ebp, esi
jl 0x422a85
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bf929
add esp, 0x104
ret