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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449a19
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x4650f0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edi
call fcn.004114f0
lea ecx, [esp + 0x44]
mov dword [esp + 0x150], edi
call fcn.004114f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.004114f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.004114f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.004114f0
cmp dword [ebp + 8], edi
mov byte [esp + 0x150], 4
je 0x41f34e
mov eax, dword [ebx + 0x30]
cmp eax, edi
jle 0x41e654
mov ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov eax, ecx
test ecx, ecx
jl 0x41e749
cmp eax, dword [ebx + 0x30]
jge 0x41e749
mov eax, dword [ebx + 0x2c]
add eax, ecx
lea esi, [eax + 8]
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41e461
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401df0
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
lea edx, [edx + edi*2]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e470
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x30]
jge 0x41e749
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
push 0x458581
mov ecx, dword [eax + 8]
mov eax, dword [ecx - 0xc]
lea ecx, [esp + 0x24]
lea esi, [edi + eax + 1]
call fcn.00401be0
mov edx, dword [esp + 0x2c]
cmp edx, dword [ebx + 0x30]
jge 0x41e749
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
add eax, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d00
push 0x44ee70
lea ecx, [esp + 0x28]
call fcn.004020f0
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 5
call fcn.00411b50
cmp eax, 1
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x150], 4
call fcn.00411520
test bl, bl
push 0x44ee6c
je 0x41e5aa
lea ecx, [esp + 0x70]
call fcn.004020f0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 6
call fcn.00402020
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 4
call fcn.00411520
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402020
push 0x44ee68
lea ecx, [esp + 0x58]
call fcn.004020f0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 7
call fcn.00402020
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 4
call fcn.00411520
lea eax, [esp + 0x50]
jmp 0x41e4c4
lea ecx, [esp + 0x60]
call fcn.004020f0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 8
call fcn.00402020
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 4
call fcn.00411520
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402020
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 4], 1
jle 0x41e60b
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401df0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
lea edx, [edx + esi*2]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e611
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
lea edi, [esi + eax + 1]
mov eax, dword [esp + 0x2c]
add eax, 1
add ecx, 0x40
cmp eax, dword [ebx + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
jl 0x41e432
mov eax, dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x41f23f
test ecx, ecx
jl 0x41e749
cmp ecx, dword [ebx + 0x14]
jge 0x41e749
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [edx + eax*4]
lea eax, [edx + eax*4]
lea ecx, [ebx - 3]
cmp ecx, 2
mov dword [esp + 0x38], ebx
ja 0x41eace
lea ecx, [esp + 0x24]
call fcn.004114f0
mov eax, ebx
sub eax, 3
mov byte [esp + 0x150], 9
je 0x41e7d1
sub eax, 1
je 0x41e74e
sub eax, 1
jne 0x41e854
mov ebx, dword [0x466fc0]
xor esi, esi
test ebx, ebx
jle 0x41e854
xor edi, edi
test esi, esi
jle 0x41e714
push 0x44ee68
lea ecx, [esp + 0x60]
call fcn.004020f0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xc
call fcn.00402020
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 9
call fcn.00411520
test edi, edi
jl 0x41e749
cmp esi, dword [0x466fc0]
jge 0x41e749
mov edx, dword [0x466fbc]
lea eax, [edi + edx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00402020
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41e6d7
jmp 0x41e854
call fcn.0042a314
mov ebx, dword [0x466fa4]
xor esi, esi
test ebx, ebx
jle 0x41e854
xor edi, edi
test esi, esi
jle 0x41e79d
push 0x44ee68
lea ecx, [esp + 0x58]
call fcn.004020f0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xb
call fcn.00402020
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 9
call fcn.00411520
test edi, edi
jl 0x41e749
cmp esi, dword [0x466fa4]
jge 0x41e749
mov eax, dword [0x466fa0]
lea eax, [edi + eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00402020
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41e760
jmp 0x41e854
mov ebx, dword [0x466f88]
xor esi, esi
test ebx, ebx
jle 0x41e854
xor edi, edi
test esi, esi
jle 0x41e81c
push 0x44ee68
lea ecx, [esp + 0x70]
call fcn.004020f0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xa
call fcn.00402020
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 9
call fcn.00411520
test edi, edi
jl 0x41e749
cmp esi, dword [0x466f88]
jge 0x41e749
mov ecx, dword [0x466f84]
lea eax, [edi + ecx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00402020
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41e7df
mov edx, dword [str..psd]
push edx
lea ecx, [esp + 0xa8]
call fcn.004010e0
push 0x44ee64
lea ecx, [esp + 0xd8]
mov byte [esp + 0x154], 0xd
call fcn.004020f0
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0xe
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xf
call fcn.00402020
lea ecx, [esp + 0xe4]
mov byte [esp + 0x150], 0xe
call fcn.00411520
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 0xd
call fcn.00411520
lea ecx, [esp + 0xa4]
mov byte [esp + 0x150], 9
call fcn.00411520
mov eax, dword [esp + 0x38]
mov ecx, dword [eax*4 + 0x464278]
push ecx
lea ecx, [esp + 0xd0]
call fcn.004010e0
mov ecx, dword [esp + 0xd0]
mov esi, dword [esp + 0x34]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x150], 0x10
je 0x41e970
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41e962
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41e962
push eax
call fcn.00401fb0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41e959
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x34], ebx
jmp 0x41e970
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401eb0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x150], 9
call fcn.00411520
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41e9dd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41e9cf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41e9cf
push eax
call fcn.00401fb0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41e9c6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x41e9dd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401eb0
lea ecx, [esp + 0x14]
call fcn.00411b10
push 0x44ee60
lea ecx, [esp + 0x88]
call fcn.004020f0
push 0x44ee5c
lea ecx, [esp + 0x138]
mov byte [esp + 0x154], 0x11
call fcn.004020f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xf8]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x12
call fcn.004011f0
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x118]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x13
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x14
call fcn.00402020
lea ecx, [esp + 0x114]
mov byte [esp + 0x150], 0x13
call fcn.00411520
lea ecx, [esp + 0xf4]
mov byte [esp + 0x150], 0x12
call fcn.00411520
lea ecx, [esp + 0x134]
mov byte [esp + 0x150], 0x11
call fcn.00411520
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 9
call fcn.00411520
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 4
call fcn.00411520
mov edi, dword [esp + 0x3c]
jmp 0x41eec8
cmp ebx, 0x30000
jl 0x41ebfb
sub ebx, 0x30000
cmp ebx, dword [0x466fc0]
jge 0x41eec8
test ebx, ebx
jl 0x41e749
mov eax, dword [0x466fbc]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401d00
cmp ebx, dword [0x466fc0]
jge 0x41e749
mov edx, dword [0x466fbc]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d00
lea ecx, [esp + 0x14]
call fcn.00411b10
push 0x44ee60
lea ecx, [esp + 0xc8]
call fcn.004020f0
push 0x44ee5c
lea ecx, [esp + 0xe0]
mov byte [esp + 0x154], 0x15
call fcn.004020f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x128]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x16
call fcn.004011f0
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x108]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x17
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x18
call fcn.00402020
lea ecx, [esp + 0x104]
mov byte [esp + 0x150], 0x17
call fcn.00411520
lea ecx, [esp + 0x124]
mov byte [esp + 0x150], 0x16
call fcn.00411520
lea ecx, [esp + 0xdc]
mov byte [esp + 0x150], 0x15
call fcn.00411520
lea ecx, [esp + 0xc4]
jmp 0x41eebb
cmp ebx, 0x20000
jl 0x41ed28
sub ebx, 0x20000
cmp ebx, dword [0x466fa4]
jge 0x41eec8
test ebx, ebx
jl 0x41e749
mov eax, dword [0x466fa0]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401d00
cmp ebx, dword [0x466fa4]
jge 0x41e749
mov edx, dword [0x466fa0]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d00
lea ecx, [esp + 0x14]
call fcn.00411b10
push 0x44ee60
lea ecx, [esp + 0x98]
call fcn.004020f0
push 0x44ee5c
lea ecx, [esp + 0x110]
mov byte [esp + 0x154], 0x19
call fcn.004020f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x100]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1a
call fcn.004011f0
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xf0]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1b
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x1c
call fcn.00402020
lea ecx, [esp + 0xec]
mov byte [esp + 0x150], 0x1b
call fcn.00411520
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0x1a
call fcn.00411520
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 0x19
call fcn.00411520
lea ecx, [esp + 0x94]
jmp 0x41eebb
cmp ebx, 0x10000
jl 0x41ee52
sub ebx, 0x10000
cmp ebx, dword [0x466f88]
jge 0x41eec8
test ebx, ebx
jl 0x41e749
mov eax, dword [0x466f84]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401d00
cmp ebx, dword [0x466f88]
jge 0x41e749
mov edx, dword [0x466f84]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d00
lea ecx, [esp + 0x14]
call fcn.00411b10
push 0x44ee60
lea ecx, [esp + 0xb8]
call fcn.004020f0
push 0x44ee5c
lea ecx, [esp + 0x140]
mov byte [esp + 0x154], 0x1d
call fcn.004020f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x130]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1e
call fcn.004011f0
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x120]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1f
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x20
call fcn.00402020
lea ecx, [esp + 0x11c]
mov byte [esp + 0x150], 0x1f
call fcn.00411520
lea ecx, [esp + 0x12c]
mov byte [esp + 0x150], 0x1e
call fcn.00411520
lea ecx, [esp + 0x13c]
mov byte [esp + 0x150], 0x1d
call fcn.00411520
lea ecx, [esp + 0xb4]
jmp 0x41eebb
mov eax, dword [ebx*4 + 0x464278]
push eax
lea ecx, [esp + 0x78]
call fcn.004010e0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x154], 0x21
call fcn.00401d00
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 4
call fcn.00411520
mov edx, dword [ebx*4 + 0x4642c8]
push edx
lea ecx, [esp + 0x80]
call fcn.004010e0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 0x22
call fcn.00401d00
lea ecx, [esp + 0x7c]
mov byte [esp + 0x150], 4
call fcn.00411520
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 4], 1
jle 0x41eee3
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401df0
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 8]
lea edx, [edx + edi*2]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41eef0
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
lea ecx, [edi + eax + 1]
mov dword [esp + 0x3c], ecx
push 0x458581
lea ecx, [esp + 0x24]
call fcn.00401be0
push 0x44ee68
lea ecx, [esp + 0x90]
call fcn.004020f0
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x41ef3f
or eax, 0xffffffff
jmp 0x41ef67
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jge 0x41ef4e
or eax, 0xffffffff
jmp 0x41ef67
push eax
push ecx
call fcn.00434199
add esp, 8
test eax, eax
jne 0x41ef61
or eax, 0xffffffff
jmp 0x41ef67
sub eax, dword [esp + 0x18]
sar eax, 1
xor edx, edx
test eax, eax
setge dl
lea ecx, [esp + 0x8c]
mov esi, edx
call fcn.00411520
test esi, esi
je 0x41eff0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41f1e2
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41efd2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41efd2
push eax
call fcn.00401fb0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41efc6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x20], edi
jmp 0x41f1e2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401eb0
jmp 0x41f1e2
push 0x44ee70
lea ecx, [esp + 0xa0]
call fcn.004020f0
push 0
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 0x23
call fcn.00411b50
cmp eax, 1
lea ecx, [esp + 0x9c]
setne bl
mov byte [esp + 0x150], 4
call fcn.00411520
test bl, bl
push 0x44ee6c
je 0x41f19c
lea ecx, [esp + 0xb0]
call fcn.004020f0
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0x24
call fcn.00402020
lea ecx, [esp + 0xac]
mov byte [esp + 0x150], 4
call fcn.00411520
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402020
push 0x44ee68
lea ecx, [esp + 0xc0]
call fcn.004020f0
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0x25
call fcn.00402020
lea ecx, [esp + 0xbc]
mov byte [esp + 0x150], 4
call fcn.00411520
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x41eff0
cmp dword [edi + 0xc], 0
jl 0x41f189
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x41f189
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41f129
cmp eax, dword [esi]
jne 0x41f129
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41f164
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41f3be
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00433131
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f17d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x41eff0
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401eb0
jmp 0x41eff0
lea ecx, [esp + 0x68]
call fcn.004020f0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0x26
call fcn.00402020
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], 4
call fcn.00411520
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402020
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], 1
jle 0x41f1f9
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401df0
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [edx + edi*2]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41f207
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax - 0xc]
mov ebx, dword [esp + 0x40]
add ecx, 1
cmp ecx, dword [ebx + 0x14]
lea edi, [edi + eax + 1]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], ecx
jl 0x41e665
cmp dword [ebx + 0x40], 0
je 0x41f345
mov ecx, dword [str.All_Files__._]
push ecx
lea ecx, [esp + 0x28]
call fcn.004010e0
mov edx, dword [esp + 0x28]
cmp dword [edx - 4], 1
mov bl, 0x27
mov byte [esp + 0x150], bl
jle 0x41f27d
mov edx, dword [edx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401df0
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
lea ecx, [edi + edi]
sub ecx, edx
mov eax, edx
add esi, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x41f290
mov edx, dword [edx - 0xc]
lea esi, [edi + edx + 1]
mov edx, dword [ebp + 8]
mov word [edx + esi*2], 0x2a
mov eax, dword [0x4642cc]
push eax
lea ecx, [esp + 0x68]
add esi, 1
call fcn.004010e0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0x28
call fcn.00401d00
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], bl
call fcn.00411520
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 4], 1
jle 0x41f302
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401df0
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
lea edx, [eax + esi*2]
jmp 0x41f310
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41f310
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
lea edx, [esi + eax + 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x150], 4
call fcn.00411520
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
mov word [eax + edi*2], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.00411520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.00411520
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.00411520
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 0
call fcn.00411520
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call fcn.00411520
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401f50
int3