Function at 0x403de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ab40
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f5b4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x30]
push 0x43ec40
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00403d60
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.00403ce0
mov eax, dword [esp + 0x30]
or ebx, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.004039a0
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jne 0x403e6d
mov eax, 1
jmp 0x4045d1
push 0x43ec3c
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00403d60
mov edi, dword [esp + 0x30]
mov eax, dword [edi - 0xc]
cmp eax, 1
mov dword [esp + 0x28], 1
je 0x403eeb
cmp eax, 2
jne 0x403ec4
push 0x43ec38
push edi
call fcn.00425a79
add esp, 8
test eax, eax
setne al
test al, al
je 0x403eeb
lea eax, [esp + 0x30]
push 0x43ec34
push eax
call fcn.004037f0
add esp, 8
test al, al
je 0x403eeb
lea eax, [edi - 0x10]
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x403ee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x4045d1
lea ecx, [esp + 0x30]
call fcn.00403940
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx - 0xc]
test edi, edi
jge 0x403f09
push 0x80070057
call fcn.00401b90
mov dl, byte [ecx]
movsx eax, dl
add eax, 0xffffffbd
cmp eax, 0x15
ja case.0x403f21.68
movzx eax, byte [eax + 0x404604]
jmp dword [eax*4 + 0x4045e8]
mov byte [ebp + 0x84], 0
jmp 0x403f5c
mov byte [ebp + 0x84], 1
jmp 0x403f5c
mov byte [ebp + 0x84], 3
jmp 0x403f5c
mov byte [ebp + 0x84], 4
jmp 0x403f5c
mov byte [ebp + 0x84], 5
jmp 0x403f5c
mov byte [ebp + 0x84], 6
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
sub eax, dword [ecx - 0xc]
mov ecx, esi
sub eax, 1
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00403af0
push eax
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.00403ce0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403fa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x43ec3c
mov ecx, esi
call fcn.00403a40
call fcn.0040f7db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403fcb
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov al, byte [ebp + 0x84]
cmp al, 5
mov byte [esp + 0x28], 3
jne 0x4043cd
mov edi, dword [esi]
push 0x100
lea ecx, [esp + 0x18]
call fcn.00402160
push eax
push 0x100
lea ecx, [esp + 0x38]
call fcn.00402160
push eax
push str._256s__256s
push edi
call fcn.00425c0a
mov edx, dword [esp + 0x40]
add esp, 0x10
test edx, edx
mov ebx, eax
jne 0x40402a
xor ecx, ecx
jmp 0x404041
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x404030
sub ecx, edi
js 0x403eff
cmp ecx, dword [edx - 8]
jg 0x403eff
mov edi, dword [esp + 0x14]
test edi, edi
mov dword [edx - 0xc], ecx
mov byte [ecx + edx], 0
jne 0x40405d
xor ecx, ecx
jmp 0x404073
mov ecx, edi
lea eax, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x404062
sub ecx, eax
js 0x403eff
cmp ecx, dword [edi - 8]
jg 0x403eff
cmp ebx, 2
mov dword [edi - 0xc], ecx
mov byte [ecx + edi], 0
je 0x4040a4
lea ecx, [esp + 0x14]
call fcn.00402140
lea ecx, [esp + 0x30]
call fcn.00402140
mov eax, 5
jmp 0x4045d1
push 0x43ec24
push edi
call fcn.004257a5
add esp, 8
test eax, eax
jne 0x40417d
mov esi, dword [esi]
push 0x100
lea ecx, [esp + 0x18]
call fcn.00402160
push eax
push 0x100
lea ecx, [esp + 0x38]
call fcn.00402160
push eax
lea ecx, [esp + 0x20]
push ecx
push str._x__s__128s
push esi
call fcn.00425c0a
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00403730
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403730
cmp esi, 3
jne 0x404088
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0x80
jne 0x404088
mov byte [ebp + 0x86], 0
jmp 0x404130
movzx eax, byte [ebp + 0x86]
mov edi, eax
shl edi, 4
add edi, ebx
lea esi, [ebp + eax*8]
call fcn.004033c0
cmp eax, 0x10
jne 0x404547
add byte [ebp + 0x86], 1
cmp byte [ebp + 0x86], 8
jb 0x404130
mov cl, byte [esp + 0x18]
mov ebx, dword [esp + 0x30]
mov dword [ebp + 0x80], 0
mov byte [ebp + 0x85], cl
jmp 0x4044ba
push 0x43ec14
push edi
call fcn.004257a5
add esp, 8
test eax, eax
je 0x40430f
push 0x43ec10
push edi
call fcn.004257a5
add esp, 8
test eax, eax
je 0x40430f
mov esi, dword [esi]
push 0x100
lea ecx, [esp + 0x18]
call fcn.00402160
push eax
push 0x100
lea ecx, [esp + 0x38]
call fcn.00402160
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push str._x__x__256s__256s
push esi
call fcn.00425c0a
add esp, 0x18
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00403730
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403730
cmp esi, 3
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x80], ecx
jne 0x40425e
mov ebx, dword [esp + 0x30]
cmp dword [ebx - 0xc], 0x100
jne 0x404088
mov byte [ebp + 0x86], 0
movzx eax, byte [ebp + 0x86]
mov edi, eax
shl edi, 4
add edi, ebx
lea esi, [ebp + eax*8]
call fcn.004033c0
cmp eax, 0x10
jne 0x404547
add byte [ebp + 0x86], 1
cmp byte [ebp + 0x86], al
jb 0x404220
mov cl, byte [esp + 0x18]
mov byte [ebp + 0x85], cl
jmp 0x4044ba
cmp esi, 4
jne 0x404088
mov ebx, dword [esp + 0x30]
mov eax, 0x80
cmp dword [ebx - 0xc], eax
jne 0x404088
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], eax
jne 0x404088
mov byte [ebp + 0x86], 0
lea ecx, [ecx]
movzx eax, byte [ebp + 0x86]
mov edi, eax
shl edi, 4
add edi, ebx
lea esi, [ebp + eax*8]
call fcn.004033c0
cmp eax, 0x10
jne 0x404547
add byte [ebp + 0x86], 1
mov al, byte [ebp + 0x86]
cmp al, 8
jb 0x404290
cmp al, 0x10
jae 0x4043be
lea esp, [esp]
movzx eax, al
lea edi, [eax - 8]
shl edi, 4
add edi, dword [esp + 0x14]
lea esi, [ebp + eax*8]
call fcn.004033c0
cmp eax, 0x10
jne 0x404547
add byte [ebp + 0x86], 1
mov al, byte [ebp + 0x86]
cmp al, 0x10
jb 0x4042d0
mov cl, byte [esp + 0x18]
mov byte [ebp + 0x85], cl
jmp 0x4044ba
mov esi, dword [esi]
push 0x100
lea ecx, [esp + 0x18]
call fcn.00402160
push eax
push 0x100
lea ecx, [esp + 0x38]
call fcn.00402160
push eax
lea eax, [esp + 0x20]
push eax
push str._x__s__128s
push esi
call fcn.00425c0a
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00403730
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403730
cmp esi, 3
jne 0x404088
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0x80
jne 0x404088
mov byte [ebp + 0x86], 0
jmp 0x404380
movzx eax, byte [ebp + 0x86]
mov edi, eax
shl edi, 4
add edi, ebx
lea esi, [ebp + eax*8]
call fcn.004033c0
cmp eax, 0x10
jne 0x404547
add byte [ebp + 0x86], 1
cmp byte [ebp + 0x86], 8
jb 0x404380
mov ebx, dword [esp + 0x30]
mov dword [ebp + 0x80], 8
mov cl, byte [esp + 0x18]
mov byte [ebp + 0x85], cl
jmp 0x4044ba
test al, al
je 0x40443a
cmp al, 4
je 0x40443a
cmp al, 6
je 0x40443a
mov esi, dword [esi]
push 0x10
lea ecx, [esp + 0x34]
call fcn.00402160
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push str._x__x__16s
push esi
call fcn.00425c0a
add esp, 0x14
push ebx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00403730
cmp esi, 3
jne 0x40441e
mov ebx, dword [esp + 0x30]
cmp dword [ebx - 0xc], 0x10
je 0x4044ba
lea ecx, [esp + 0x14]
call fcn.00402140
lea ecx, [esp + 0x30]
call fcn.00402140
mov eax, 7
jmp 0x4045d1
mov esi, dword [esi]
push 0x20
lea ecx, [esp + 0x34]
call fcn.00402160
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push str._x__x__32s
push esi
call fcn.00425c0a
mov ebx, dword [esp + 0x44]
add esp, 0x14
test ebx, ebx
jne 0x40446c
xor ecx, ecx
jmp 0x404482
mov ecx, ebx
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x404471
sub ecx, esi
js 0x403eff
cmp ecx, dword [ebx - 8]
jg 0x403eff
cmp eax, 3
mov dword [ebx - 0xc], ecx
mov byte [ecx + ebx], 0
jne 0x404560
cmp dword [esp + 0x18], 0x80
ja 0x404560
mov eax, dword [ebx - 0xc]
cmp eax, 0x10
je 0x4044ba
cmp eax, 0x20
jne 0x404560
cmp byte [ebp + 0x84], 5
je 0x4044f4
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x18]
mov edi, ebx
mov esi, ebp
mov dword [ebp + 0x80], eax
mov byte [ebp + 0x85], cl
call fcn.004033c0
cmp eax, 0x10
jne 0x404547
mov eax, dword [ebx - 0xc]
cmp eax, 0x10
jne 0x40450d
mov byte [ebp + 0x86], 1
lea ecx, [esp + 0x14]
call fcn.00402140
lea ecx, [esp + 0x30]
call fcn.00402140
xor eax, eax
jmp 0x4045d1
cmp eax, 0x20
jne 0x404547
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jne 0x404524
mov byte [ebp + 0x85], 0
jmp 0x404530
cmp eax, 0x20
jne 0x404530
mov byte [ebp + 0x85], 1
lea edi, [ebx + 0x10]
lea esi, [ebp + 8]
mov byte [ebp + 0x86], 2
call fcn.004033c0
cmp eax, 0x10
je 0x4044f4
lea ecx, [esp + 0x14]
call fcn.00402140
lea ecx, [esp + 0x30]
call fcn.00402140
mov eax, 9
jmp 0x4045d1
lea ecx, [esp + 0x14]
call fcn.00402140
lea ecx, [esp + 0x30]
call fcn.00402140
mov eax, 6
jmp 0x4045d1
test edi, edi
jge 0x404587
push 0x80070057
call fcn.00401b90
cmp dl, 0x41
jl 0x4045af
test edi, edi
jge 0x40459a
push 0x80070057
call fcn.00401b90
cmp dl, 0x5a
jg 0x4045af
lea ecx, [esp + 0x30]
call fcn.00402140
mov eax, 4
jmp 0x4045d1
lea eax, [ecx - 0x10]
mov dword [esp + 0x28], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x4045cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4