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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447fc9
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
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.0040ed60
lea ecx, [esp + 0x44]
mov dword [esp + 0x150], edi
call fcn.0040ed60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040ed60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040ed60
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.0040ed60
cmp dword [ebp + 8], edi
mov byte [esp + 0x150], 4
je 0x41d37e
mov eax, dword [ebx + 0x30]
cmp eax, edi
jle 0x41c684
mov ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov eax, ecx
test ecx, ecx
jl 0x41c779
cmp eax, dword [ebx + 0x30]
jge 0x41c779
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 0x41c491
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
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 0x41c4a0
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x30]
jge 0x41c779
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
push 0x4563c1
mov ecx, dword [eax + 8]
mov eax, dword [ecx - 0xc]
lea ecx, [esp + 0x24]
lea esi, [edi + eax + 1]
call fcn.00401a30
mov edx, dword [esp + 0x2c]
cmp edx, dword [ebx + 0x30]
jge 0x41c779
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
add eax, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
push 0x44cda8
lea ecx, [esp + 0x28]
call fcn.00401f20
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.0040f3c0
cmp eax, 1
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040ed90
test bl, bl
push 0x44cda4
je 0x41c5da
lea ecx, [esp + 0x70]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
push 0x44cda0
lea ecx, [esp + 0x58]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 4
call fcn.0040ed90
lea eax, [esp + 0x50]
jmp 0x41c4f4
lea ecx, [esp + 0x60]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 4], 1
jle 0x41c63b
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
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 0x41c641
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 0x41c462
mov eax, dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x41d26f
test ecx, ecx
jl 0x41c779
cmp ecx, dword [ebx + 0x14]
jge 0x41c779
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 0x41cafe
lea ecx, [esp + 0x24]
call fcn.0040ed60
mov eax, ebx
sub eax, 3
mov byte [esp + 0x150], 9
je 0x41c801
sub eax, 1
je 0x41c77e
sub eax, 1
jne 0x41c884
mov ebx, dword [0x464fb8]
xor esi, esi
test ebx, ebx
jle 0x41c884
xor edi, edi
test esi, esi
jle 0x41c744
push 0x44cda0
lea ecx, [esp + 0x60]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 9
call fcn.0040ed90
test edi, edi
jl 0x41c779
cmp esi, dword [0x464fb8]
jge 0x41c779
mov edx, dword [0x464fb4]
lea eax, [edi + edx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401e50
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41c707
jmp 0x41c884
call fcn.00428da0
mov ebx, dword [0x464f9c]
xor esi, esi
test ebx, ebx
jle 0x41c884
xor edi, edi
test esi, esi
jle 0x41c7cd
push 0x44cda0
lea ecx, [esp + 0x58]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 9
call fcn.0040ed90
test edi, edi
jl 0x41c779
cmp esi, dword [0x464f9c]
jge 0x41c779
mov eax, dword [0x464f98]
lea eax, [edi + eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401e50
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41c790
jmp 0x41c884
mov ebx, dword [0x464f80]
xor esi, esi
test ebx, ebx
jle 0x41c884
xor edi, edi
test esi, esi
jle 0x41c84c
push 0x44cda0
lea ecx, [esp + 0x70]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 9
call fcn.0040ed90
test edi, edi
jl 0x41c779
cmp esi, dword [0x464f80]
jge 0x41c779
mov ecx, dword [0x464f7c]
lea eax, [edi + ecx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401e50
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41c80f
mov edx, dword [str..psd]
push edx
lea ecx, [esp + 0xa8]
call fcn.004010e0
push 0x44cd9c
lea ecx, [esp + 0xd8]
mov byte [esp + 0x154], 0xd
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0xe4]
mov byte [esp + 0x150], 0xe
call fcn.0040ed90
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 0xd
call fcn.0040ed90
lea ecx, [esp + 0xa4]
mov byte [esp + 0x150], 9
call fcn.0040ed90
mov eax, dword [esp + 0x38]
mov ecx, dword [eax*4 + 0x462218]
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 0x41c9a0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41c992
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41c992
push eax
call fcn.00401de0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41c989
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 0x41c9a0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401ce0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x150], 9
call fcn.0040ed90
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41ca0d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41c9ff
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41c9ff
push eax
call fcn.00401de0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41c9f6
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 0x41ca0d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401ce0
lea ecx, [esp + 0x14]
call fcn.0040f380
push 0x44cd98
lea ecx, [esp + 0x88]
call fcn.00401f20
push 0x44cd94
lea ecx, [esp + 0x138]
mov byte [esp + 0x154], 0x11
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x114]
mov byte [esp + 0x150], 0x13
call fcn.0040ed90
lea ecx, [esp + 0xf4]
mov byte [esp + 0x150], 0x12
call fcn.0040ed90
lea ecx, [esp + 0x134]
mov byte [esp + 0x150], 0x11
call fcn.0040ed90
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 9
call fcn.0040ed90
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov edi, dword [esp + 0x3c]
jmp 0x41cef8
cmp ebx, 0x30000
jl 0x41cc2b
sub ebx, 0x30000
cmp ebx, dword [0x464fb8]
jge 0x41cef8
test ebx, ebx
jl 0x41c779
mov eax, dword [0x464fb4]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b30
cmp ebx, dword [0x464fb8]
jge 0x41c779
mov edx, dword [0x464fb4]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.0040f380
push 0x44cd98
lea ecx, [esp + 0xc8]
call fcn.00401f20
push 0x44cd94
lea ecx, [esp + 0xe0]
mov byte [esp + 0x154], 0x15
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x104]
mov byte [esp + 0x150], 0x17
call fcn.0040ed90
lea ecx, [esp + 0x124]
mov byte [esp + 0x150], 0x16
call fcn.0040ed90
lea ecx, [esp + 0xdc]
mov byte [esp + 0x150], 0x15
call fcn.0040ed90
lea ecx, [esp + 0xc4]
jmp 0x41ceeb
cmp ebx, 0x20000
jl 0x41cd58
sub ebx, 0x20000
cmp ebx, dword [0x464f9c]
jge 0x41cef8
test ebx, ebx
jl 0x41c779
mov eax, dword [0x464f98]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b30
cmp ebx, dword [0x464f9c]
jge 0x41c779
mov edx, dword [0x464f98]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.0040f380
push 0x44cd98
lea ecx, [esp + 0x98]
call fcn.00401f20
push 0x44cd94
lea ecx, [esp + 0x110]
mov byte [esp + 0x154], 0x19
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0xec]
mov byte [esp + 0x150], 0x1b
call fcn.0040ed90
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0x1a
call fcn.0040ed90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 0x19
call fcn.0040ed90
lea ecx, [esp + 0x94]
jmp 0x41ceeb
cmp ebx, 0x10000
jl 0x41ce82
sub ebx, 0x10000
cmp ebx, dword [0x464f80]
jge 0x41cef8
test ebx, ebx
jl 0x41c779
mov eax, dword [0x464f7c]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b30
cmp ebx, dword [0x464f80]
jge 0x41c779
mov edx, dword [0x464f7c]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.0040f380
push 0x44cd98
lea ecx, [esp + 0xb8]
call fcn.00401f20
push 0x44cd94
lea ecx, [esp + 0x140]
mov byte [esp + 0x154], 0x1d
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x11c]
mov byte [esp + 0x150], 0x1f
call fcn.0040ed90
lea ecx, [esp + 0x12c]
mov byte [esp + 0x150], 0x1e
call fcn.0040ed90
lea ecx, [esp + 0x13c]
mov byte [esp + 0x150], 0x1d
call fcn.0040ed90
lea ecx, [esp + 0xb4]
jmp 0x41ceeb
mov eax, dword [ebx*4 + 0x462218]
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.00401b30
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov edx, dword [ebx*4 + 0x462268]
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.00401b30
lea ecx, [esp + 0x7c]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 4], 1
jle 0x41cf13
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401c20
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 0x41cf20
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
lea ecx, [edi + eax + 1]
mov dword [esp + 0x3c], ecx
push 0x4563c1
lea ecx, [esp + 0x24]
call fcn.00401a30
push 0x44cda0
lea ecx, [esp + 0x90]
call fcn.00401f20
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x41cf6f
or eax, 0xffffffff
jmp 0x41cf97
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jge 0x41cf7e
or eax, 0xffffffff
jmp 0x41cf97
push eax
push ecx
call fcn.00432639
add esp, 8
test eax, eax
jne 0x41cf91
or eax, 0xffffffff
jmp 0x41cf97
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.0040ed90
test esi, esi
je 0x41d020
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d212
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41d002
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d002
push eax
call fcn.00401de0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41cff6
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 0x41d212
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401ce0
jmp 0x41d212
push 0x44cda8
lea ecx, [esp + 0xa0]
call fcn.00401f20
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.0040f3c0
cmp eax, 1
lea ecx, [esp + 0x9c]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040ed90
test bl, bl
push 0x44cda4
je 0x41d1cc
lea ecx, [esp + 0xb0]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0xac]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
push 0x44cda0
lea ecx, [esp + 0xc0]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0xbc]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x41d020
cmp dword [edi + 0xc], 0
jl 0x41d1b9
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x41d1b9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41d159
cmp eax, dword [esi]
jne 0x41d159
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41d194
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 0x41d3ee
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.00431aff
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d1ad
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 0x41d020
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401ce0
jmp 0x41d020
lea ecx, [esp + 0x68]
call fcn.00401f20
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.00401e50
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], 4
call fcn.0040ed90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], 1
jle 0x41d229
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
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 0x41d237
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 0x41c695
cmp dword [ebx + 0x40], 0
je 0x41d375
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 0x41d2ad
mov edx, dword [edx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401c20
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 0x41d2c0
mov edx, dword [edx - 0xc]
lea esi, [edi + edx + 1]
mov edx, dword [ebp + 8]
mov word [edx + esi*2], 0x2a
mov eax, dword [0x46226c]
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.00401b30
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], bl
call fcn.0040ed90
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 4], 1
jle 0x41d332
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401c20
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
lea edx, [eax + esi*2]
jmp 0x41d340
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41d340
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.0040ed90
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.0040ed90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040ed90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040ed90
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 0
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call fcn.0040ed90
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.00401d80
int3