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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov eax, ecx
mov dword [esp + 0x20], 0
xor ebx, ebx
mov dword [esp + 0x2c], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x78], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x118], 0
mov byte [esp + 0x11c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x34], ecx
push edi
test esi, esi
jne 0x42d08e
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x16]
movzx ecx, byte [eax + 0xc]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x42d0a2
xor edx, edx
jmp 0x42d0bf
test edx, edx
je 0x42d0b5
cmp edx, esi
jne 0x42d0b4
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x42d0b8
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
mov dword [esp + 0x68], edx
lea eax, [esi + 1]
sub edx, ecx
mov dword [esp + 0x18], eax
lea ecx, [edx + esi]
cmp ecx, edi
mov edi, dword [esp + 0x34]
jne 0x42d0e0
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x42d0f4
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
lea eax, [esp + 0xfc]
push 0
lea eax, [eax + esi*4]
mov dword [esp + 0x44], ecx
push 0
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
bswap edx
push eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x48], edx
call fcn.00426250
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x42e36b
nop dword [eax]
nop word [eax + eax]
lea eax, [esi*4]
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + eax + 0xfc]
movzx ecx, word [eax + 0x16]
movzx eax, byte [eax + 0xc]
inc eax
add eax, dword [esp + 0x28]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x28], ecx
test eax, eax
je 0x42d31d
mov dl, byte [edi + 0xc]
test dl, dl
je 0x42d1c8
mov eax, dword [esp + 0x68]
movzx ecx, word [edi + 0x1a]
add eax, esi
cmp eax, ecx
jne 0x42d1c8
mov eax, dword [edi + 0x24]
lea edi, [esi*4]
push eax
mov dword [esp + edi + 0xac], eax
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
bswap ecx
push eax
mov dword [esp + 0x68], ecx
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x44], ecx
call eax
movzx eax, ax
mov dword [esp + edi + 0x88], eax
mov eax, dword [esp + 0x3c]
mov byte [eax + 0xc], 0
jmp 0x42d299
mov ecx, dword [esp + 0x68]
movzx eax, dl
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
mov edi, dword [edi + 0x38]
movzx ecx, cx
and ecx, eax
add edi, ecx
push edi
mov dword [esp + esi*4 + 0xac], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [eax + 0x4c]
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov dword [esp + esi*4 + 0x80], edx
test byte [eax + 0x16], 0xc
je 0x42d270
mov eax, dword [esp + 0x34]
mov ecx, edi
mov ebx, dword [esp + 0x38]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x24]
mov ebx, 0
jg 0x42d2d5
mov eax, dword [esp + 0x7c]
push edx
add eax, ecx
push edi
push eax
call fcn.004ae080
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x30]
sub eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x64]
add eax, edi
mov dword [esp + ecx + 0xa4], eax
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x68]
push eax
push edx
movzx eax, byte [edi + 0xc]
mov edx, dword [esp + 0x60]
sub ecx, eax
dec edx
add edx, ecx
mov ecx, edi
call fcn.0042c2d0
lea edi, [esi*4]
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x104]
mov ecx, dword [esp + 0x40]
add esp, 8
add eax, edi
push 0
push 0
push eax
call fcn.00426250
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
test edi, edi
jne 0x42e36b
mov edi, dword [esp + 0x34]
jmp 0x42d140
push 0x4d6ad4
push 0x1058f
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov ecx, dword [esp + 0x78]
add esp, 0x14
mov dword [esp + 0x14], 0xb
push ecx
lea eax, [esp + 0x100]
push 0
push eax
call fcn.004ad600
mov edi, dword [esp + 0x24]
add esp, 0xc
xor eax, eax
jmp 0x42d5c0
mov eax, dword [esp + 0x38]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
cdq
push edx
push eax
call fcn.0040fd60
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x42d358
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 7
jmp 0x42d5c0
mov ecx, dword [esp + 0xfc]
lea eax, [eax + esi*4]
mov dword [esp + 0x50], eax
xor edx, edx
lea eax, [eax + esi*2]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x64], eax
mov al, byte [ecx + 3]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], edx
cmp dword [esp + 0x18], edx
jle 0x42d627
nop
mov edi, dword [esp + edx*4 + 0xfc]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x58], edi
movzx eax, word [edi + 0x18]
mov edx, dword [edi + 0x38]
mov esi, eax
mov dword [esp + 0x70], esi
movzx esi, word [edi + 0x12]
mov dword [esp + 0x74], eax
add esi, edx
mov al, byte [edx]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x28], esi
cmp al, byte [ecx]
jne 0x42d592
movzx eax, byte [edi + 0xc]
movzx ecx, word [edi + 0x16]
add ecx, eax
mov eax, dword [esp + 0x50]
add ecx, ecx
push ecx
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.004ad600
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x42d46e
movzx edx, word [edi + 0x1a]
test edx, edx
je 0x42d43d
mov edi, dword [esp + 0x5c]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x70]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0xc]
add ecx, edi
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x44], ebx
sub edx, 1
jne 0x42d408
mov edi, dword [esp + 0x58]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x42d46e
mov esi, dword [esp + 0xc]
lea ecx, [edi + 0x24]
nop dword [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebx
mov dword [esp + 0x44], ebx
cmp edx, eax
jl 0x42d450
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
movzx eax, word [edi + 0x12]
mov edx, dword [esp + 0x5c]
add eax, edx
movzx ecx, word [edi + 0x16]
lea eax, [eax + ecx*2]
mov dword [esp + 0x70], eax
cmp esi, eax
jae 0x42d4c0
mov edi, eax
nop dword [eax]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x74]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0xc]
add ecx, edx
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x44], ebx
cmp esi, edi
jb 0x42d490
mov edi, dword [esp + 0x58]
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + edx*4 + 0xb4], ebx
cmp edx, eax
jge 0x42d577
cmp byte [esp + 0x13], 0
jne 0x42d577
movzx eax, word [esp + edx*4 + 0x80]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
push eax
push dword [esp + edx*4 + 0xac]
mov word [ecx + ebx*2], ax
mov ecx, dword [esp + 0x28]
add esi, ecx
add ecx, eax
push esi
mov dword [esp + 0x2c], ecx
call fcn.004ae080
mov ecx, dword [esp + 0x70]
add esp, 0xc
mov edx, dword [esp + 0xc]
movzx eax, cx
add eax, esi
mov esi, dword [esp + 0x50]
mov dword [edx + ebx*4], eax
mov ax, word [esi + ebx*2]
sub ax, cx
mov word [esi + ebx*2], ax
cmp byte [edi + 8], 0
movzx ecx, ax
jne 0x42d549
mov eax, dword [edi + 0x38]
mov ecx, dword [edx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x42d56a
cmp ecx, 4
jae 0x42d56a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov byte [ecx + eax], 0
inc eax
inc word [esi + ebx*2]
cmp word [esi + ebx*2], 4
jb 0x42d556
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x54]
inc ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
inc edx
mov dword [esp + 0x54], edx
cmp edx, dword [esp + 0x18]
jge 0x42d627
mov ecx, dword [esp + 0xfc]
jmp 0x42d3a0
push 0x4d6ad4
push 0x105d0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
add esp, 0x14
mov dword [esp + 0x14], 0xb
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42e382
cmp dword [0x4d9a98], 0
je 0x42e378
mov eax, dword [0x4defd8]
test eax, eax
je 0x42d5e8
push eax
call dword [0x4d9af4]
add esp, 4
push dword [esp + 0xc]
call dword [0x4d9ad0]
sub dword [0x4dede0], eax
add esp, 4
dec dword [0x4dee04]
push dword [esp + 0xc]
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x42e382
push eax
call dword [0x4d9afc]
jmp 0x42e37f
mov eax, dword [esp + 0x64]
xor edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x42d6d7
mov ecx, eax
lea esi, [esp + 0xb4]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + edx*4 + 0xfc]
mov edi, ecx
mov dword [esp + 0x30], 0
movzx eax, word [esi + 0x14]
sub edi, eax
cmp byte [esi + 0xc], 0
mov dword [esp + edx*4 + 0x80], edi
jbe 0x42d6c6
lea ebx, [esi + 0x24]
nop dword [eax]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x38]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x38], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x42d690
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov dword [esp + edx*4 + 0x80], edi
mov eax, dword [esp + 0x18]
inc edx
mov dword [esp + 0x58], edx
cmp edx, eax
jl 0x42d666
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0
mov esi, eax
mov dword [esp + 0x5c], esi
test eax, eax
jle 0x42d922
mov eax, 1
xor edi, edi
mov dword [esp + 0x20], eax
nop dword [eax + eax]
mov edx, dword [esp + edi + 0x80]
mov dword [esp + 0xc], edx
cmp edx, ecx
jle 0x42d7f0
lea ecx, [esp + 0x84]
add ecx, edi
nop dword [eax]
cmp eax, esi
jl 0x42d73f
inc eax
mov dword [esp + 0x5c], eax
cmp eax, 5
jg 0x42d8e3
mov dword [ecx], 0
mov dword [esp + edi + 0x98], ebx
mov esi, dword [esp + edi + 0x94]
mov eax, dword [esp + 0x50]
lea edx, [esi - 1]
movzx eax, word [eax + edx*2]
test ax, ax
jne 0x42d76a
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x44]
movzx eax, ax
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + edi + 0x80]
movzx ecx, ax
add ecx, 2
sub edx, ecx
cmp byte [esp + 0x13], 0
mov dword [esp + 0xc], edx
mov dword [esp + edi + 0x80], edx
jne 0x42d7c0
cmp esi, ebx
jge 0x42d7be
mov eax, dword [esp + 0x50]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x42d7b6
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
movzx eax, ax
mov dword [esp + 0x2c], ebx
movzx ecx, ax
add ecx, 2
jmp 0x42d7c0
xor ecx, ecx
mov eax, dword [esp + edi + 0x84]
add eax, ecx
lea ecx, [esp + 0x84]
add ecx, edi
mov dword [ecx], eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x5c]
mov dword [esp + edi + 0x94], eax
mov eax, dword [esp + 0x20]
cmp edx, dword [esp + 0x54]
jg 0x42d720
mov esi, dword [esp + edi + 0x94]
cmp esi, ebx
jge 0x42d896
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x42d826
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
movzx eax, ax
movzx eax, ax
add eax, 2
add edx, eax
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x54]
jg 0x42d88e
inc esi
mov dword [esp + edi + 0x80], edx
cmp byte [esp + 0x13], 0
mov dword [esp + edi + 0x94], esi
jne 0x42d87f
cmp esi, ebx
jge 0x42d87d
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x42d875
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x42d87f
xor eax, eax
sub dword [esp + edi + 0x84], eax
cmp esi, ebx
jl 0x42d803
mov dword [esp + 0x2c], ebx
cmp esi, ebx
jl 0x42d8a6
mov eax, dword [esp + 0x20]
mov esi, eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], esi
jmp 0x42d8c9
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x42d8b7
mov eax, dword [esp + edi + 0x90]
jmp 0x42d8b9
xor eax, eax
cmp esi, eax
jle 0x42da53
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x5c]
inc ecx
inc eax
add edi, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
cmp ecx, esi
jge 0x42d91a
mov ecx, dword [esp + 0x54]
jmp 0x42d700
push 0x4d6ad4
push 0x1063d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
add esp, 0x14
mov dword [esp + 0x14], 0xb
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
jmp 0x42d5c0
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
lea ecx, [esi - 1]
mov edx, 1
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x42db31
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x80]
sub eax, 4
lea edx, [esp + 0x94]
sub edx, 4
mov dword [esp + 0x24], eax
lea esi, [esp + 0x80]
mov dword [esp + 0x58], edx
nop dword [eax]
mov eax, dword [eax + ecx*4]
mov edi, dword [esi + ecx*4]
mov dword [esp + 0x2c], eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x74], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
lea esi, [eax - 1]
mov edx, esi
sub edx, dword [esp + 0x6c]
inc edx
lea eax, [edx + edx]
cmp word [eax + ebx], 0
mov dword [esp + 0x28], eax
jne 0x42d9a0
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x50]
nop dword [eax]
cmp word [ebx + esi*2], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x70], esi
jne 0x42d9be
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x50]
test edi, edi
je 0x42da0d
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0x30]
mov edx, eax
jne 0x42da8a
mov ecx, dword [esp + 0x5c]
mov eax, 2
mov ebx, dword [esp + 0x50]
dec ecx
cmp dword [esp + 0x20], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
movzx eax, word [ebx + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x28]
movzx eax, word [eax + ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x42da8a
mov edx, dword [esp + 0x28]
mov ecx, 0xfffffffe
movzx eax, word [edx + ebx]
sub edx, 2
add eax, 2
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xc]
add edi, eax
movzx eax, word [ebx + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov dword [ecx], esi
sub esi, 1
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x30], ecx
jns 0x42d9a0
jmp 0x42da8e
push 0x4d6ad4
push 0x1065e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov eax, dword [esp + 0x60]
add esp, 0x14
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0xb
mov dword [esp + 0xc], eax
jmp 0x42d5c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x80]
mov dword [esi + ecx*4], edi
mov esi, dword [esp + 0x24]
mov dword [esi + ecx*4], eax
cmp ecx, 1
jle 0x42dab2
mov eax, dword [esp + 0x58]
mov eax, dword [eax + ecx*4 - 4]
jmp 0x42dab4
xor eax, eax
cmp edx, eax
jle 0x42dafa
mov edx, dword [esp + 0x58]
dec ecx
mov dword [esp + 0x20], ecx
mov eax, esi
lea esi, [esp + 0x80]
test ecx, ecx
jg 0x42d960
mov eax, dword [esp + 0xfc]
xor edi, edi
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + 0x38]
lea edx, [edi + 1]
movzx eax, byte [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
jmp 0x42db4c
push 0x4d6ad4
push 0x10688
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov eax, dword [esp + 0x60]
add esp, 0x14
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0xb
mov dword [esp + 0xc], eax
jmp 0x42d5c0
mov eax, dword [esp + 0xfc]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x20], eax
test esi, esi
jle 0x42dc9a
mov esi, dword [esp + 0x20]
cmp edi, dword [esp + 0x18]
jge 0x42dbed
mov eax, dword [esp + edi*4 + 0xfc]
mov dword [esp + edi*4 + 0x108], eax
mov dword [esp + edi*4 + 0xfc], 0
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x42dbab
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42dbab
cmp dword [edx + 0x60], 0
je 0x42db98
call fcn.0041ec00
jmp 0x42dbd4
xor eax, eax
inc dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
jmp 0x42dc80
mov eax, dword [edx + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42dc91
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42dbcf
call fcn.00420780
jmp 0x42dbd4
call fcn.004206b0
inc dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x42d5b8
jmp 0x42dc80
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
cmovne eax, edx
push 0
push eax
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x34]
call fcn.0042a9e0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x42d5b8
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.004260f0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x1c]
mov dword [esp + edi*4 + 0x108], eax
cmp byte [ecx + 0x11], 0
mov dword [esp + edi*4 + 0xb4], ebx
je 0x42dc78
mov edx, dword [eax + 4]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
mov ecx, dword [esp + 0x40]
push 5
call fcn.00424db0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42d5b8
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
inc edi
cmp edi, dword [esp + 0x5c]
jge 0x42dc9a
mov edx, 1
jmp 0x42db50
inc dword [esp + 0x1c]
jmp 0x42d5b8
mov esi, dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
jle 0x42dcf7
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x108]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0xe0], edx
mov dword [esp + ecx*4 + 0xc8], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0xa8], ax
xor eax, eax
test ecx, ecx
jle 0x42dcf2
nop dword [eax]
cmp dword [esp + eax*4 + 0xe0], edx
je 0x42de8c
inc eax
cmp eax, ecx
jl 0x42dce0
inc ecx
cmp ecx, esi
jl 0x42dcb0
xor edi, edi
mov dword [esp + 0x30], edi
test esi, esi
jle 0x42ddc5
mov ebx, dword [esp + 0x20]
nop dword [eax]
mov ecx, 1
xor esi, esi
cmp dword [esp + 0x1c], ecx
jle 0x42dd46
xor edi, edi
nop
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xc8]
cmp eax, dword [esp + edi + 0xc8]
jae 0x42dd3b
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, dword [esp + 0x1c]
jl 0x42dd20
mov edi, dword [esp + 0x30]
mov eax, dword [esp + esi*4 + 0xc8]
mov dword [esp + 0x6c], eax
mov dword [esp + esi*4 + 0xc8], 0xffffffff
cmp esi, edi
je 0x42ddac
jle 0x42dd81
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + esi*4 + 0x108]
inc edx
add edx, esi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.0041a580
mov eax, dword [esp + edi*4 + 0x108]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0xa8]
mov esi, dword [esp + 0x6c]
mov edx, esi
mov word [ecx + 0x1c], ax
call fcn.0041a580
mov eax, dword [esp + edi*4 + 0x108]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x30], edi
cmp edi, esi
jl 0x42dd10
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x2c]
test byte [esp + 0x20], 8
mov eax, dword [esp + esi*4 + 0x104]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x42de0e
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x42de0e
lea edx, [esp + 0xfc]
lea eax, [esp + 0x108]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + esi*4 + 0x104]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x11], 0
je 0x42dffd
mov edi, dword [esp + 0x108]
xor esi, esi
mov dword [esp + 0x40], 0
mov eax, dword [edi + 0x38]
movzx ecx, word [edi + 0x16]
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 0xc]
add ecx, eax
mov eax, dword [edx + 0x24]
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], edx
test ebx, ebx
jle 0x42dff9
xor eax, eax
mov dword [esp + 0x20], eax
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0x3c], ecx
cmp esi, dword [esp + 0x28]
jne 0x42ded2
inc edx
mov dword [esp + 0x60], edx
lea eax, [edx*4]
cmp edx, dword [esp + 0x1c]
jge 0x42de9b
mov edx, dword [esp + eax + 0x108]
jmp 0x42dea2
push 0x4d6ad4
push 0x106d2
jmp 0x42d59c
mov edx, dword [esp + eax + 0xfc]
movzx eax, byte [edx + 0xc]
movzx ecx, word [edx + 0x16]
add ecx, eax
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp esi, dword [esp + eax + 0x94]
jne 0x42defd
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
shl eax, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
mov edi, dword [esp + eax + 0x108]
je 0x42dfec
cmp edx, dword [esp + 0x1c]
jge 0x42df23
mov eax, dword [edi + 4]
cmp eax, dword [esp + edx*4 + 0xe0]
jne 0x42df23
mov eax, dword [esp + 0x30]
cmp ecx, eax
jb 0x42df23
add eax, dword [esp + 0x6c]
cmp ecx, eax
jb 0x42dfe8
cmp word [esp + 0x64], 0
jne 0x42df4d
mov edx, dword [ecx]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x38]
push eax
push dword [edi + 4]
bswap edx
push 5
call fcn.00424db0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x42df74
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.0042c6c0
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x44]
movzx eax, ax
cmp ax, word [edi + 0x10]
jbe 0x42dfdc
cmp dword [esp + 0x14], 0
jne 0x42d5b8
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x40]
mov eax, dword [edi + 0x50]
push edi
call eax
movzx eax, word [esp + 0xe4]
add esp, 0xc
cmp eax, dword [esp + 0xd4]
jae 0x42dfe8
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
mov ecx, dword [edi + 0x34]
push eax
movzx eax, word [esp + 0xde]
push dword [edi + 4]
push 3
mov edx, dword [eax + edx - 4]
bswap edx
call fcn.00424db0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x42dfe0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42d5b8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
inc esi
cmp esi, ebx
jl 0x42de60
mov esi, dword [esp + 0x1c]
lea eax, [esi - 1]
xor edi, edi
test eax, eax
jle 0x42e168
nop word [eax + eax]
mov eax, dword [esp + edi*4 + 0x94]
mov edx, dword [esp + 0xc]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + edi*4 + 0x108]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x64]
movzx eax, word [edx + eax*2]
movzx edx, ax
mov dword [esp + 0x74], eax
movzx eax, cx
mov ecx, dword [esp + 0x40]
add edx, eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
cmp byte [ecx + 8], 0
jne 0x42e06b
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x42e11e
cmp byte [esp + 0x13], 0
je 0x42e102
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esp + 0x70]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov edx, dword [esp + 0xf0]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov esi, eax
mov ecx, dword [esp + 0xe0]
test edx, edx
ja 0x42e0ee
jb 0x42e0ad
cmp ecx, 0x7f
ja 0x42e0bf
and cl, 0x7f
mov byte [eax + 4], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x42e122
test edx, edx
ja 0x42e0ee
jb 0x42e0cd
cmp ecx, 0x3fff
ja 0x42e0ee
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov edx, dword [esp + 0x3c]
or al, 0x80
mov byte [edx + 4], al
mov eax, 2
mov byte [edx + 5], cl
lea edx, [eax + 4]
xor eax, eax
jmp 0x42e122
push edx
push ecx
lea ecx, [eax + 4]
call fcn.00414070
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x42e122
sub esi, 4
cmp word [esp + 0x74], 4
jne 0x42e122
mov eax, dword [esp + 0x34]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x78], edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
push dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
push eax
push edx
mov edx, dword [esp + 0x78]
push esi
lea edx, [edx + edi]
call fcn.0042c3f0
mov esi, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0x14], esi
test esi, esi
jne 0x42d5b8
mov esi, dword [esp + 0x1c]
inc edi
lea eax, [esi - 1]
cmp edi, eax
jl 0x42e010
mov ecx, 1
sub ecx, esi
mov dword [esp + 0x40], ecx
cmp ecx, esi
jge 0x42e25d
nop dword [eax + eax]
mov eax, ecx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0x11c], 0
jne 0x42e246
lea edi, [esi*4]
test ecx, ecx
jns 0x42e1b6
mov eax, dword [esp + edi + 0xb0]
cmp eax, dword [esp + edi + 0x90]
jl 0x42e246
test esi, esi
jne 0x42e1c7
mov ecx, dword [esp + 0x94]
xor ebx, ebx
xor eax, eax
jmp 0x42e1f6
cmp esi, dword [esp + 0x18]
jge 0x42e1dd
xor ebx, ebx
cmp byte [esp + 0x13], bl
sete bl
add ebx, dword [esp + edi + 0xb0]
mov ecx, dword [esp + edi + 0x94]
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + edi + 0x90]
sub ecx, eax
lea edx, [esp + 0x44]
push edx
push ecx
mov ecx, dword [esp + edi + 0x110]
mov edx, ebx
push eax
call fcn.0042c9f0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x42d909
mov cx, word [esp + 0x54]
mov eax, dword [esp + edi + 0x108]
sub cx, word [esp + edi + 0x80]
mov ebx, dword [esp + 0x44]
mov byte [esp + esi + 0x11c], 1
mov word [eax + 0x14], cx
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x1c]
jl 0x42e180
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x42e2ce
mov ebx, dword [esp + 0x34]
cmp word [ebx + 0x16], 0
jne 0x42e2ce
mov ecx, dword [esp + 0x108]
movzx eax, byte [ebx + 9]
cmp ax, word [ecx + 0x14]
ja 0x42e2ce
or edx, 0xffffffff
call fcn.004254b0
mov ecx, dword [esp + 0x108]
mov edx, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.0042cf30
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42e330
mov ecx, dword [esp + 0x108]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.0042b600
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x42e330
mov ebx, dword [esp + 0x38]
cmp byte [ebx + 0x11], 0
je 0x42e32c
cmp word [esp + 0x64], 0
mov ecx, dword [esp + 0x1c]
jne 0x42e326
xor esi, esi
test ecx, ecx
jle 0x42e326
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0x108]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.00424db0
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0xc
cmp esi, ecx
jl 0x42e2f0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jmp 0x42e334
mov eax, dword [esp + 0x14]
jmp 0x42e334
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, ecx
cmp ecx, edi
jge 0x42d5bc
mov ecx, dword [esp + esi*4 + 0xfc]
test eax, eax
jne 0x42e35d
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.0042b600
add esp, 4
inc esi
cmp esi, edi
jl 0x42e342
mov dword [esp + 0x14], eax
jmp 0x42d5bc
lea eax, [esi*4 + 4]
push eax
jmp 0x42d300
push eax
call dword [0x4d9ac8]
add esp, 4
xor ebx, ebx
test edi, edi
jle 0x42e3f3
nop dword [eax + eax]
mov edx, dword [esp + ebx*4 + 0xfc]
test edx, edx
je 0x42e3ee
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42e3e7
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.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [esp + 0x28]
add esp, 0x10
jmp 0x42e3ee
mov ecx, edx
call fcn.0041a3d0
inc ebx
cmp ebx, edi
jl 0x42e390
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jle 0x42e461
nop dword [eax + eax]
mov edx, dword [esp + ebx*4 + 0x108]
test edx, edx
je 0x42e45a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42e453
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.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x42e45a
mov ecx, edx
call fcn.0041a3d0
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x42e400
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret