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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov eax, ecx
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x2c], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x128], 0
mov byte [esp + 0x12c], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edi
test esi, esi
jne 0x41efc6
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x16]
movzx ecx, byte [eax + 0xc]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x41efda
xor edx, edx
jmp 0x41eff7
test edx, edx
je 0x41efed
cmp edx, esi
jne 0x41efec
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x41eff0
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 + 0x6c], esi
mov dword [esp + 0x58], eax
lea ecx, [edx + esi]
cmp ecx, edi
jne 0x41f021
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x41f03c
mov edi, dword [esp + 0x34]
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]
mov edx, dword [ecx]
lea eax, [esp + 0x10c]
push 0
lea eax, [eax + esi*4]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
bswap edx
push 0
push eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], eax
call fcn.004186e0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x41f21c
nop dword [eax + eax]
mov ecx, dword [esp + 0x18]
mov edi, esi
mov dword [esp + 0x28], edi
mov ecx, dword [ecx]
movzx edx, word [ecx + 0x16]
movzx eax, byte [ecx + 0xc]
add eax, dword [esp + 0x1c]
lea ecx, [edx + 1]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x41f2e0
mov eax, dword [esp + 0x34]
mov dl, byte [eax + 0xc]
test dl, dl
je 0x41f101
movzx ecx, word [eax + 0x1a]
mov eax, dword [esp + 0x68]
add eax, esi
cmp eax, ecx
jne 0x41f101
mov edx, dword [esp + 0x34]
lea edi, [esi*4]
mov eax, dword [edx + 0x24]
push eax
mov dword [esp + edi + 0x7c], eax
push edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x4c]
bswap ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ecx
call eax
movzx eax, ax
mov dword [esp + edi + 0x94], eax
mov eax, dword [esp + 0x3c]
mov byte [eax + 0xc], 0
jmp 0x41f1e5
movzx eax, dl
mov ecx, edi
mov edx, dword [esp + 0x34]
sub ecx, eax
add ecx, dword [esp + 0x68]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x18]
movzx edi, cx
lea ecx, [esp + 0x78]
and edi, eax
mov eax, dword [esp + 0x28]
add edi, dword [edx + 0x38]
push edi
push edx
lea eax, [eax*4 - 4]
mov dword [esp + 0x20], eax
add eax, ecx
mov dword [esp + 0x34], eax
mov dword [eax], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x4c]
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov dword [esp + eax + 0x8c], edx
mov eax, dword [esp + 0x38]
test byte [eax + 0x16], 0xc
je 0x41f1bf
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 0x41f2ae
mov eax, dword [esp + 0x80]
push edx
add eax, ecx
push edi
push eax
call fcn.004e8950
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x60]
sub edi, dword [eax + 0x38]
mov eax, dword [esp + 0x2c]
add edi, dword [esp + 0x80]
mov dword [eax], edi
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
push edx
movzx eax, byte [edi + 0xc]
mov edx, dword [esp + 0x70]
sub ecx, eax
dec edx
add edx, ecx
mov ecx, edi
call fcn.0041e270
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x114]
mov ecx, dword [esp + 0x40]
add esp, 8
add eax, edi
mov dword [esp + 0x18], eax
push 0
push 0
push eax
call fcn.004186e0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
test edi, edi
je 0x41f080
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x110]
push 0
push eax
call fcn.004e8ed0
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x58], ebx
jle 0x4202b6
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esp + ebx*4 + 0x10c]
test edx, edx
je 0x4202ab
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4202a4
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 0x4202ab
push 0x53d0b4
push 0x1058f
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x14], 0xb
add eax, 4
jmp 0x41f223
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.00404e70
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
jne 0x41f313
mov dword [esp + 0x14], 7
jmp 0x41f236
mov ecx, dword [esp + 0x10c]
lea eax, [eax + esi*4]
mov dword [esp + 0x54], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x60], eax
mov al, byte [ecx + 3]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x58], eax
jle 0x41f54c
xor edi, edi
nop
shl eax, 2
mov dword [esp + 0x74], eax
mov edx, dword [esp + eax + 0x10c]
mov dword [esp + 0x40], edx
movzx eax, word [edx + 0x18]
mov ecx, dword [edx + 0x38]
mov esi, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x2c], esi
movzx esi, word [edx + 0x12]
add esi, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x41f64b
movzx eax, byte [edx + 0xc]
movzx ecx, word [edx + 0x16]
add ecx, eax
mov eax, dword [esp + 0x54]
add ecx, ecx
push ecx
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.004e8ed0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov cl, byte [eax + 0xc]
test cl, cl
je 0x41f44c
movzx edx, word [eax + 0x1a]
test edx, edx
je 0x41f41c
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x2c]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x50]
add ecx, dword [esp + 0x28]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x48], ebx
sub edx, 1
jne 0x41f3e2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], ebx
mov cl, byte [eax + 0xc]
xor edx, edx
test cl, cl
je 0x41f44c
lea ecx, [eax + 0x24]
mov esi, dword [esp + 0x50]
lea ecx, [ecx + 4]
mov eax, dword [ecx - 4]
inc edx
mov dword [esi + ebx*4], eax
inc ebx
mov esi, dword [esp + 0x40]
mov dword [esp + 0x48], ebx
movzx eax, byte [esi + 0xc]
cmp edx, eax
jl 0x41f425
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x40]
movzx ecx, word [eax + 0x16]
movzx eax, word [eax + 0x12]
add eax, dword [esp + 0x28]
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x41f494
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x88]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x50]
add ecx, dword [esp + 0x28]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x48], ebx
cmp esi, edx
jb 0x41f463
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
mov dword [esp + edx + 0xb8], ebx
cmp eax, dword [esp + 0x6c]
jge 0x41f53d
cmp byte [esp + 0x13], 0
jne 0x41f53d
movzx eax, word [esp + edx + 0x8c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
push eax
push dword [esp + edx + 0x7c]
add esi, edi
mov word [ecx + ebx*2], ax
push esi
add edi, eax
call fcn.004e8950
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
movzx eax, ax
add eax, esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x60]
sub word [edx + ebx*2], ax
mov eax, dword [esp + 0x40]
cmp byte [eax + 8], 0
jne 0x41f511
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x41f530
cmp word [edx + ebx*2], 4
jae 0x41f530
mov eax, dword [esp + 0x5c]
nop dword [eax]
mov byte [eax + edi], 0
inc edi
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x41f520
mov eax, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], ebx
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x58]
jl 0x41f360
mov eax, dword [esp + 0x60]
xor edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x41f606
mov ecx, eax
lea esi, [esp + 0xb8]
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
nop dword [eax + eax]
mov esi, dword [esp + edx*4 + 0x10c]
mov edi, ecx
mov dword [esp + 0x1c], 0
movzx eax, word [esi + 0x14]
sub edi, eax
cmp byte [esi + 0xc], 0
lea eax, [esp + 0x8c]
lea eax, [eax + edx*4]
mov dword [eax], edi
mov dword [esp + 0x6c], eax
jbe 0x41f5f5
lea ebx, [esi + 0x24]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x24]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x24], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x41f5c0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword [eax], edi
mov eax, dword [esp + 0x58]
inc edx
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x41f590
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
mov esi, eax
mov dword [esp + 0x5c], esi
test eax, eax
jle 0x41f81b
mov edx, 1
xor ecx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
nop dword [eax + eax]
lea eax, [esp + 0x8c]
add eax, ecx
mov dword [esp + 0x6c], eax
mov edi, dword [eax]
cmp edi, dword [esp + 0x40]
jle 0x41f74e
jmp 0x41f689
push 0x53d0b4
push 0x105d0
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x42028a
lea eax, [esp + 0x8c]
add eax, ecx
cmp edx, esi
jl 0x41f6af
inc edx
mov dword [esp + 0x5c], edx
cmp edx, 5
jg 0x41f994
mov dword [esp + ecx + 0x90], 0
mov edi, dword [eax]
mov dword [esp + ecx + 0xa4], ebx
mov esi, dword [esp + ecx + 0xa0]
mov edx, dword [esp + 0x54]
lea ecx, [esi - 1]
mov dword [esp + 0x74], ecx
movzx eax, word [edx + ecx*2]
test ax, ax
jne 0x41f6e4
mov edx, ecx
lea ecx, [esp + 0x48]
call fcn.0041e650
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x6c]
movzx eax, ax
add eax, 2
sub edi, eax
cmp byte [esp + 0x13], 0
mov dword [ecx], edi
jne 0x41f726
cmp esi, ebx
jge 0x41f724
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x41f71c
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0041e650
mov ebx, dword [esp + 0x48]
movzx eax, ax
mov dword [esp + 0x30], ebx
movzx eax, ax
add eax, 2
jmp 0x41f726
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
add dword [esp + ecx + 0x90], eax
mov eax, dword [esp + 0x74]
mov dword [esp + ecx + 0xa0], eax
cmp edi, dword [esp + 0x40]
jg 0x41f680
mov esi, dword [esp + ecx + 0xa0]
cmp esi, ebx
jge 0x41f7f8
mov edx, dword [esp + 0x54]
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x41f788
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0041e650
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x30], ebx
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, dword [esp + 0x40]
jg 0x41f969
inc esi
mov dword [esp + ecx + 0x8c], edi
cmp byte [esp + 0x13], 0
mov dword [esp + ecx + 0xa0], esi
jne 0x41f7e5
cmp esi, ebx
jge 0x41f7e3
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x41f7d7
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0041e650
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x18]
movzx eax, ax
add eax, 2
jmp 0x41f7e5
xor eax, eax
sub dword [esp + ecx + 0x90], eax
cmp esi, ebx
jl 0x41f761
mov edx, dword [esp + 0x28]
mov esi, edx
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x1c]
add ecx, 4
inc eax
mov dword [esp + 0x18], ecx
inc edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
cmp eax, esi
jl 0x41f630
lea eax, [esi - 1]
mov ecx, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x41fa32
nop dword [eax]
shl ecx, 2
lea eax, [esp + 0x8c]
add eax, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x84], eax
mov edi, dword [eax]
lea eax, [esp + ecx + 0x88]
mov dword [esp + 0x78], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xa0]
sub eax, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], eax
mov ebx, dword [eax + ecx]
mov ecx, dword [esp + 0x54]
lea esi, [ebx - 1]
mov edx, esi
sub edx, dword [esp + 0xb4]
inc edx
lea eax, [edx + edx]
cmp word [eax + ecx], 0
mov dword [esp + 0x1c], eax
jne 0x41f8a4
lea ecx, [esp + 0x48]
call fcn.0041e650
nop word [eax + eax]
mov ecx, dword [esp + 0x54]
cmp word [ecx + esi*2], 0
mov dword [esp + 0x88], esi
mov dword [esp + 0x74], esi
jne 0x41f8c5
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0041e650
mov ecx, dword [esp + 0x54]
test edi, edi
je 0x41f914
cmp dword [ebp + 0x10], 0
mov edx, ebx
jne 0x41f9ea
movzx eax, word [ecx + esi*2]
mov edi, 0
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
dec ebx
sub ecx, eax
cmp dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x54]
mov eax, 2
cmove eax, edi
mov edi, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x41f9ea
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
movzx eax, word [edx + ecx]
sub edx, 2
add eax, 2
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x88]
add edi, eax
movzx eax, word [ecx + esi*2]
mov ecx, 0xfffffffe
sub ecx, eax
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov dword [ebx + ecx], esi
sub esi, 1
mov ebx, dword [esp + 0x74]
jns 0x41f8a0
jmp 0x41f9ee
cmp esi, ebx
jge 0x41f7f4
cmp dword [esp + 0x1c], 0
jle 0x41f981
mov eax, dword [esp + ecx + 0x9c]
jmp 0x41f983
xor eax, eax
cmp esi, eax
jle 0x41f9bf
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
jmp 0x41f7fe
push 0x53d0b4
push 0x1063d
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x42028a
push 0x53d0b4
push 0x1065e
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x42028a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov dword [ecx], edi
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jbe 0x41fa17
mov ebx, dword [esp + 0x2c]
lea eax, [ecx*4]
mov eax, dword [eax + ebx - 4]
jmp 0x41fa19
xor eax, eax
cmp edx, eax
jle 0x41fa9a
dec ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x41f830
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x10c]
xor esi, esi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x1c], eax
lea eax, [esi + 1]
cmp dword [esp + 0x5c], esi
jle 0x41fbd5
cmp esi, dword [esp + 0x58]
jge 0x41fb26
mov eax, dword [esp + esi*4 + 0x10c]
mov dword [esp + esi*4 + 0x118], eax
mov dword [esp + esi*4 + 0x10c], 0
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x41fadd
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x41fadd
cmp dword [edx + 0x60], 0
je 0x41fac5
call fcn.004118e0
jmp 0x41fb06
push 0x53d0b4
push 0x10688
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x42028a
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
inc edi
mov dword [esp + 0x20], edi
jmp 0x41fbbb
mov edi, dword [edx + 0x28]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x41fbcc
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x41fb01
call fcn.00413410
jmp 0x41fb06
call fcn.00413340
mov edi, dword [esp + 0x20]
mov edx, eax
inc edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
test edx, edx
jne 0x42028a
jmp 0x41fbbb
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x2c]
mov ecx, dword [esp + 0x44]
cmovne ecx, eax
lea eax, [esp + 0x3c]
push 0
push ecx
mov ecx, dword [esp + 0x40]
push eax
call fcn.0041c9e0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], edx
test edx, edx
jne 0x42028a
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x1c]
call fcn.00418580
mov ecx, dword [esp + 0x38]
inc dword [esp + 0x20]
mov dword [esp + esi*4 + 0x118], edi
mov dword [esp + esi*4 + 0xb8], ebx
cmp byte [ecx + 0x11], 0
je 0x41fbaf
mov edx, dword [edi + 4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push 5
call fcn.00417290
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x42028a
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x44], edx
inc esi
cmp esi, dword [esp + 0x5c]
jge 0x41fbd7
mov eax, 1
jmp 0x41fa52
inc dword [esp + 0x20]
jmp 0x42028a
xor edi, edi
xor ecx, ecx
test edi, edi
jle 0x41fce1
mov eax, dword [esp + ecx*4 + 0x118]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0xf0], edx
mov dword [esp + ecx*4 + 0xd8], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0xcc], ax
xor eax, eax
test ecx, ecx
je 0x41fc22
nop
cmp dword [esp + eax*4 + 0xf0], edx
je 0x41fda5
inc eax
cmp eax, ecx
jl 0x41fc10
inc ecx
cmp ecx, edi
jl 0x41fbe1
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x2c], edi
xor esi, esi
lea ecx, [esi + 1]
cmp eax, ecx
jle 0x41fc64
mov ebx, dword [esp + 0x20]
xor edi, edi
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xd8]
cmp eax, dword [esp + edi + 0xd8]
jae 0x41fc5b
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebx
jl 0x41fc40
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + esi*4 + 0xd8]
mov dword [esp + 0x78], eax
mov dword [esp + esi*4 + 0xd8], 0xffffffff
cmp esi, edi
je 0x41fcca
jle 0x41fc9f
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + esi*4 + 0x118]
inc edx
add edx, esi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.0040d750
mov eax, dword [esp + edi*4 + 0x118]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0xcc]
mov esi, dword [esp + 0x78]
mov edx, esi
mov word [ecx + 0x1c], ax
call fcn.0040d750
mov eax, dword [esp + edi*4 + 0x118]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x20]
inc edi
mov dword [esp + 0x2c], edi
cmp edi, eax
jl 0x41fc31
mov ebx, dword [esp + 0x30]
mov edi, eax
test byte [esp + 0x1c], 8
mov eax, dword [esp + edi*4 + 0x114]
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x41fd2a
mov ecx, dword [esp + 0x58]
cmp ecx, edi
je 0x41fd2a
lea edx, [esp + 0x10c]
lea eax, [esp + 0x118]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + edi*4 + 0x114]
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 0x41ff26
mov esi, dword [esp + 0x118]
xor edi, edi
mov dword [esp + 0x64], 0
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x16]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xc]
add ecx, eax
mov eax, dword [edx + 0x24]
xor edx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x18], edx
test ebx, ebx
jle 0x41ff2d
xor eax, eax
mov dword [esp + 0x44], eax
nop dword [eax]
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x3c], ecx
cmp edi, dword [esp + 0x1c]
jne 0x41fe07
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x20]
jge 0x41fdd0
mov edx, dword [esp + edx*4 + 0x118]
jmp 0x41fdd7
push 0x53d0b4
push 0x106d2
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x42028a
mov edx, dword [esp + edx*4 + 0x10c]
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 + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp edi, dword [esp + eax + 0xa0]
jne 0x41fe32
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
shl eax, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x44], eax
mov esi, dword [esp + eax + 0x118]
je 0x41ff19
cmp edx, dword [esp + 0x20]
jge 0x41fe58
mov eax, dword [esi + 4]
cmp eax, dword [esp + edx*4 + 0xf0]
jne 0x41fe58
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jb 0x41fe58
add eax, dword [esp + 0x78]
cmp ecx, eax
jb 0x41ff15
cmp word [esp + 0x60], 0
jne 0x41fe82
mov edx, dword [ecx]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x38]
push eax
push dword [esi + 4]
bswap edx
push 5
call fcn.00417290
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x41fea1
mov edx, edi
lea ecx, [esp + 0x48]
call fcn.0041e650
mov ebx, dword [esp + 0x48]
movzx eax, ax
cmp ax, word [esi + 0x10]
jbe 0x41ff09
cmp dword [esp + 0x14], 0
jne 0x42028a
lea eax, [esp + 0xd8]
push eax
push dword [esp + 0x40]
mov eax, dword [esi + 0x50]
push esi
call eax
movzx eax, word [esp + 0xf4]
add esp, 0xc
cmp eax, dword [esp + 0xe4]
jae 0x41ff15
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
mov ecx, dword [esi + 0x34]
push eax
movzx eax, word [esp + 0xee]
push dword [esi + 4]
push 3
mov edx, dword [eax + edx - 4]
bswap edx
call fcn.00417290
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x41ff0d
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x42028a
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
inc edi
cmp edi, ebx
jl 0x41fd80
mov esi, dword [esp + 0x118]
mov eax, dword [esp + 0x20]
xor edi, edi
dec eax
test eax, eax
jle 0x4200a6
nop dword [eax]
mov eax, dword [esp + edi*4 + 0xa0]
mov edx, dword [esp + 0x50]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + edi*4 + 0x118]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x60]
movzx eax, word [edx + eax*2]
movzx edx, ax
mov dword [esp + 0x84], eax
movzx eax, cx
mov ecx, dword [esp + 0x64]
add edx, eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
cmp byte [ecx + 8], 0
jne 0x41ffa1
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x420057
cmp byte [esp + 0x13], 0
je 0x420038
lea eax, [esp + 0xf0]
push eax
mov eax, dword [esp + 0x7c]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov edx, dword [esp + 0x100]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov esi, eax
mov ecx, dword [esp + 0xf0]
test edx, edx
ja 0x420024
jb 0x41ffe3
cmp ecx, 0x7f
ja 0x41fff5
and cl, 0x7f
mov byte [eax + 4], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x42005b
test edx, edx
ja 0x420024
jb 0x420003
cmp ecx, 0x3fff
ja 0x420024
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 0x42005b
push edx
push ecx
lea ecx, [eax + 4]
call fcn.00408e60
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x42005b
sub esi, 4
cmp word [esp + 0x84], 4
jne 0x42005b
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 + 0x70], edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x68]
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.0041e390
mov esi, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0x14], esi
test esi, esi
jne 0x42028a
mov eax, dword [esp + 0x20]
inc edi
dec eax
cmp edi, eax
jl 0x41ff40
mov esi, dword [esp + 0x118]
mov edi, dword [esp + 0x20]
mov eax, 1
sub eax, edi
mov dword [esp + 0x70], eax
cmp eax, edi
jge 0x4201a0
nop dword [eax]
cdq
lea edi, [esp + 0x12c]
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x420184
cmp dword [esp + 0x70], 0
jge 0x4200f4
mov eax, dword [esp + ecx*4 + 0xb4]
cmp eax, dword [esp + ecx*4 + 0x9c]
jl 0x420184
test ecx, ecx
jne 0x420105
mov edx, dword [esp + 0xa0]
xor ebx, ebx
xor eax, eax
jmp 0x420134
cmp ecx, dword [esp + 0x58]
jge 0x42011b
xor ebx, ebx
cmp byte [esp + 0x13], bl
sete bl
add ebx, dword [esp + ecx*4 + 0xb4]
mov edx, dword [esp + ecx*4 + 0xa0]
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + ecx*4 + 0x9c]
sub edx, eax
lea esi, [ecx*4]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + esi + 0x11c]
push edx
push eax
mov edx, ebx
call fcn.0041e970
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x42028a
mov eax, dword [esp + esi + 0x118]
mov cx, word [esp + 0x40]
sub cx, word [esp + esi + 0x8c]
mov ebx, dword [esp + 0x48]
mov byte [edi], 1
mov word [eax + 0x14], cx
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x70], eax
cmp eax, edi
jl 0x4200c0
mov esi, dword [esp + 0x118]
cmp dword [ebp + 0xc], 0
je 0x42020a
mov ebx, dword [esp + 0x34]
cmp word [ebx + 0x16], 0
jne 0x42020a
movzx eax, byte [ebx + 9]
cmp ax, word [esi + 0x14]
ja 0x42020a
or edx, 0xffffffff
mov ecx, esi
call fcn.00417970
mov ecx, dword [esp + 0x118]
mov edx, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.0041ee70
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x42025a
mov ecx, dword [esp + 0x118]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.0041d5e0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x42025a
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x11], 0
je 0x420256
cmp word [esp + 0x60], 0
jne 0x420256
xor esi, esi
test edi, edi
jle 0x420256
mov eax, dword [esp + esi*4 + 0x118]
lea edx, [esp + 0x24]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.00417290
mov ecx, dword [esp + 0x44]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x420222
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
jmp 0x42025a
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
mov esi, edi
cmp edi, ebx
jge 0x42028a
mov ecx, dword [esp + esi*4 + 0x10c]
test edx, edx
jne 0x420281
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.0041d5e0
add esp, 4
mov edx, eax
inc esi
cmp esi, ebx
jl 0x420264
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41f236
push eax
call fcn.00405050
add esp, 4
jmp 0x41f236
mov ecx, edx
call fcn.0040d5a0
inc ebx
cmp ebx, dword [esp + 0x58]
jl 0x41f250
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x420321
nop
mov edx, dword [esp + ebx*4 + 0x118]
test edx, edx
je 0x42031a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x420313
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 0x42031a
mov ecx, edx
call fcn.0040d5a0
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x4202c0
mov ecx, dword [esp + 0x134]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret