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

Disassembly:
push 0xffffffffffffffff
push 0x53f39c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58ab78]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
mov eax, dword [0x59d750]
test al, 1
jne 0x4e24ae
or eax, 1
mov dword [0x59d750], eax
push 0
push 0
mov ecx, 0x59d740
mov dword [esp + 0x70], 1
mov dword [0x59d740], 0
mov dword [0x59d744], 0
call fcn.004def00
mov dword [0x59d740], eax
mov ecx, 0x59d748
mov byte [esp + 0x68], 2
mov dword [0x59d748], 0
mov dword [0x59d74c], 0
call fcn.004f4b70
push 0x543c50
mov dword [0x59d748], eax
mov byte [esp + 0x6c], 1
call fcn.0049f971
add esp, 4
mov byte [esp + 0x68], 0
mov edx, dword [0x59d748]
mov ecx, edx
mov ebp, dword [esp + 0x74]
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x4e24ed
mov esi, dword [ebp]
cmp dword [eax + 0x10], esi
jae 0x4e24d0
mov eax, dword [eax + 8]
jmp 0x4e24d4
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4e24c6
cmp ecx, edx
je 0x4e24ed
cmp esi, dword [ecx + 0x10]
jb 0x4e24ed
mov dword [esp + 0x18], ecx
lea esi, [esp + 0x18]
jmp 0x4e24f5
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x1c]
mov esi, dword [esi]
cmp esi, edx
je 0x4e25d9
mov ecx, dword [0x59d740]
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0x14]
je 0x4e25a1
push 0
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], 0
call fcn.004def00
mov edi, eax
mov dword [esp + 0x34], edi
mov edx, dword [esi + 0x14]
mov ecx, dword [0x59d740]
mov dword [esp + 0x68], 3
cmp edx, ecx
je 0x4e255f
push 1
push dword [edx]
lea ecx, [esp + 0x3c]
push edx
push 0x59d740
push edi
call fcn.004e02a0
mov edi, dword [esp + 0x34]
mov ecx, dword [0x59d740]
mov eax, dword [edi]
cmp eax, edi
je 0x4e2580
push 1
push dword [eax]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, 0x59d740
call fcn.004e02a0
mov ecx, dword [0x59d740]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x34]
mov dword [esi + 0x14], eax
call fcn.004e1730
push dword [esp + 0x34]
call fcn.0047d4a0
mov ecx, dword [0x59d740]
add esp, 4
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 4], edx
test edx, edx
je 0x4e25c3
add edx, 4
mov ecx, 1
lock xadd dword [edx], ecx
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 0x2c
call fcn.0047d464
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], 4
test eax, eax
je 0x4e25ff
push dword [ebp]
mov ecx, eax
call fcn.004de0d0
jmp 0x4e2601
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 5
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004dd340
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], 6
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x4e2650
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov dword [esp + 0x5c], 0
mov edi, dword [0x59d740]
lea eax, [esp + 0x54]
push eax
mov ecx, 0x59d740
mov byte [esp + 0x6c], 7
push dword [edi + 4]
push edi
call fcn.004da2f0
mov edx, dword [0x59d744]
mov ecx, 0xccccccb
sub ecx, edx
mov esi, eax
cmp ecx, 1
jae 0x4e2694
push str.list_T__too_long
call fcn.004c3890
inc edx
mov byte [esp + 0x68], 6
mov dword [0x59d744], edx
or ebx, 0xffffffff
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4e26dd
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4e26dd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4e26dd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [0x59d740]
mov ecx, dword [ebp]
mov dword [esp + 0x3c], ecx
mov ecx, 0x59d748
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
call fcn.004da2c0
push eax
add eax, 0x10
mov ecx, 0x59d748
push eax
push 0
lea eax, [esp + 0x58]
push eax
call fcn.004db6a0
push ebp
lea eax, [esp + 0x28]
mov ecx, 0x59d748
push eax
call fcn.004f8e70
mov ecx, dword [0x59d740]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
add eax, 0x10
mov dword [ecx + 0x10], eax
mov eax, dword [0x59d74c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
cmp eax, ecx
jbe 0x4e281f
mov ebx, dword [0x59d740]
mov esi, dword [ebx]
cmp esi, ebx
je 0x4e281c
jmp 0x4e2760
cmp eax, ecx
jbe 0x4e281c
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4e280e
mov eax, dword [ecx + 4]
cmp eax, 1
jne 0x4e280a
mov edi, esi
lea eax, [esp + 0x44]
mov esi, dword [esi]
mov ecx, 0x59d748
push dword [edi + 0x10]
push eax
call fcn.00518000
push dword [esp + 0x48]
lea eax, [esp + 0x2c]
mov ecx, 0x59d748
push dword [esp + 0x48]
push eax
call fcn.004e32a0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [0x59d744]
mov ebp, dword [edi + 0xc]
test ebp, ebp
je 0x4e27f6
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4e27f6
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
lea eax, [ebp + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4e27f6
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 8]
push edi
call fcn.0047d4a0
mov eax, dword [esp + 0x18]
add esp, 4
dec eax
mov dword [esp + 0x14], eax
jmp 0x4e2810
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
mov ecx, dword [esp + 0x78]
cmp esi, ebx
jne 0x4e2760
or ebx, 0xffffffff
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 1
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], 0
mov esi, dword [edi + 4]
mov dword [esp + 0x30], esi
mov dword [edi + 4], eax
mov byte [esp + 0x68], 0
test esi, esi
je 0x4e287f
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4e287f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x4e287f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret