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

Disassembly:
push 0xffffffffffffffff
push 0x5bc2b1
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b8]
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x94], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x14]
mov edi, dword [esp + 0x14]
mov esi, dword [eax]
mov eax, dword [ecx]
test edi, edi
je 0x4e7aca
cmp edi, eax
je 0x4e7acf
call fcn.00589a8c
mov ebx, dword [esp + 0x18]
cmp ebx, esi
je 0x4e8657
mov esi, edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x4e7aea
call fcn.00589a8c
mov ebp, dword [ebx + 4]
test esi, esi
je 0x4e7af5
mov eax, dword [esi]
jmp 0x4e7af7
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e7b01
call fcn.00589a8c
test esi, esi
jne 0x4e7b40
call fcn.00589a8c
cmp ebp, dword [esi + 0x14]
jne 0x4e7b14
call fcn.00589a8c
mov edx, dword [esp + 0x4c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebp + 0x60]
call fcn.004e4900
mov esi, edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x4e7b35
call fcn.00589a8c
mov ebp, dword [ebx + 4]
test esi, esi
je 0x4e7b44
mov eax, dword [esi]
jmp 0x4e7b46
mov esi, dword [esi]
jmp 0x4e7b0a
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e7b50
call fcn.00589a8c
test esi, esi
jne 0x4e7b9e
call fcn.00589a8c
cmp ebp, dword [esi + 0x14]
jne 0x4e7b63
call fcn.00589a8c
mov esi, dword [ebp + 0x78]
mov eax, dword [ebp + 0x60]
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4e7b75
cmp ebp, eax
je 0x4e7b7a
call fcn.00589a8c
cmp dword [esp + 0x2c], esi
jne 0x4e7de6
mov esi, edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x4e7b93
call fcn.00589a8c
mov ebp, dword [ebx + 4]
test esi, esi
je 0x4e7ba2
mov eax, dword [esi]
jmp 0x4e7ba4
mov esi, dword [esi]
jmp 0x4e7b59
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e7bae
call fcn.00589a8c
test esi, esi
jne 0x4e7bf3
call fcn.00589a8c
cmp ebp, dword [esi + 0x14]
jne 0x4e7bc1
call fcn.00589a8c
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0xbc]
push edx
lea ecx, [ebp + 0x80]
call fcn.004e4990
mov esi, edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x4e7be8
call fcn.00589a8c
mov ebp, dword [ebx + 4]
test esi, esi
je 0x4e7bf7
mov eax, dword [esi]
jmp 0x4e7bf9
mov esi, dword [esi]
jmp 0x4e7bb7
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e7c03
call fcn.00589a8c
test esi, esi
jne 0x4e7ce4
call fcn.00589a8c
cmp ebp, dword [esi + 0x14]
jne 0x4e7c1a
call fcn.00589a8c
mov esi, dword [esp + 0xb8]
mov ebx, dword [ebp + 0x98]
mov ebp, dword [ebp + 0x80]
test esi, esi
je 0x4e7c35
cmp esi, ebp
je 0x4e7c3a
call fcn.00589a8c
mov edi, dword [esp + 0xbc]
cmp edi, ebx
je 0x4e85c3
xor ebx, ebx
cmp esi, ebx
jne 0x4e7ceb
call fcn.00589a8c
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x4e7c64
call fcn.00589a8c
xor eax, eax
lea ecx, [edi + 0x28]
mov word [esp + 0x54], ax
mov eax, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4e7c80
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0048f6c0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0xc4]
push edx
mov dword [esp + 0x1b8], ebx
call fcn.00495ae0
add esp, 8
mov edi, eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x1b0], 1
mov dword [esp + 0x20], eax
cmp esi, ebx
jne 0x4e7cd5
call fcn.00589a8c
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx + 4]
test esi, esi
je 0x4e7cf2
mov eax, dword [esi]
jmp 0x4e7cf4
mov esi, dword [esi]
jmp 0x4e7c10
mov esi, dword [esi]
jmp 0x4e7c5a
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e7cfe
call fcn.00589a8c
test esi, esi
jne 0x4e7da3
call fcn.00589a8c
cmp ebp, dword [esi + 0x14]
jne 0x4e7d15
call fcn.00589a8c
push edi
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [ebp + 0x60]
call fcn.004e4900
cmp dword [esp + 0xd8], 4
mov ebp, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
jb 0x4e7d4d
mov eax, dword [esp + 0xc4]
push eax
call fcn.0058984a
add esp, 4
xor esi, esi
cmp dword [esp + 0x68], 8
mov dword [esp + 0xd8], 3
mov dword [esp + 0xd4], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0x1b0], 0xffffffff
jb 0x4e7d87
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0058984a
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
cmp edi, esi
jne 0x4e7d98
call fcn.00589a8c
mov esi, dword [ebx + 4]
test edi, edi
je 0x4e7daa
mov eax, dword [edi]
jmp 0x4e7dac
mov esi, dword [esi]
jmp 0x4e7d0b
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e7db6
call fcn.00589a8c
test edi, edi
jne 0x4e7e1f
call fcn.00589a8c
cmp esi, dword [edi + 0x14]
jne 0x4e7dc9
call fcn.00589a8c
mov edi, dword [esi + 0x78]
mov esi, dword [esi + 0x60]
test ebp, ebp
je 0x4e7dd7
cmp ebp, esi
je 0x4e7ddc
call fcn.00589a8c
cmp dword [esp + 0x2c], edi
je 0x4e85c3
test ebp, ebp
jne 0x4e7e23
call fcn.00589a8c
mov ebx, dword [esp + 0x2c]
cmp ebx, dword [ebp + 0x18]
jne 0x4e7dfd
call fcn.00589a8c
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, ebp
mov dword [esp + 0x20], esi
test ebp, ebp
jne 0x4e7e14
call fcn.00589a8c
mov esi, dword [esi + 4]
test edi, edi
je 0x4e7e28
mov eax, dword [edi]
jmp 0x4e7e2a
mov edi, dword [edi]
jmp 0x4e7dbf
mov ebp, dword [ebp]
jmp 0x4e7def
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e7e34
call fcn.00589a8c
test edi, edi
jne 0x4e7e85
call fcn.00589a8c
cmp esi, dword [edi + 0x14]
jne 0x4e7e47
call fcn.00589a8c
mov eax, dword [esi + 0x38]
add eax, dword [ebx + 0x30]
mov esi, dword [esi + 0x3c]
adc esi, dword [ebx + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x20], edx
test ebp, ebp
jne 0x4e7e76
call fcn.00589a8c
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx + 4]
test esi, esi
je 0x4e7e89
mov eax, dword [esi]
jmp 0x4e7e8b
mov edi, dword [edi]
jmp 0x4e7e3d
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e7e95
call fcn.00589a8c
test esi, esi
jne 0x4e7ed7
call fcn.00589a8c
cmp ebp, dword [esi + 0x14]
jne 0x4e7ea8
call fcn.00589a8c
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x54]
sar eax, 3
cmp dword [esp + 0x24], eax
jge 0x4e7f9d
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x4e7ecc
call fcn.00589a8c
mov esi, dword [ebx + 4]
test edi, edi
je 0x4e7edb
mov eax, dword [edi]
jmp 0x4e7edd
mov esi, dword [esi]
jmp 0x4e7e9e
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e7ee7
call fcn.00589a8c
test edi, edi
jne 0x4e7f42
call fcn.00589a8c
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e7efc
call fcn.00589a8c
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
mov ebp, dword [esp + 0x24]
sar ecx, 3
cmp ebp, ecx
jb 0x4e7f12
call fcn.00589a8c
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x34]
cmp edx, dword [eax + ebp*8 + 4]
jb 0x4e7f9d
ja 0x4e7f2a
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + ebp*8]
jb 0x4e7f9d
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x4e7f37
call fcn.00589a8c
mov esi, dword [ebx + 4]
test edi, edi
je 0x4e7f46
mov eax, dword [edi]
jmp 0x4e7f48
mov eax, dword [edi]
jmp 0x4e7ef2
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e7f52
call fcn.00589a8c
test edi, edi
jne 0x4e7f99
call fcn.00589a8c
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e7f67
call fcn.00589a8c
mov edx, dword [esi + 0x58]
sub edx, dword [esi + 0x54]
sar edx, 3
cmp ebp, edx
jb 0x4e7f79
call fcn.00589a8c
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + ebp*8]
sub dword [esp + 0x30], ecx
mov edx, dword [eax + ebp*8 + 4]
sbb dword [esp + 0x34], edx
inc ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x14]
jmp 0x4e7e63
mov eax, dword [edi]
jmp 0x4e7f5d
push 4
call fcn.00589ab7
add esp, 4
test eax, eax
je 0x4e7fb6
lea ecx, [esp + 0xa0]
mov dword [eax], ecx
jmp 0x4e7fb8
xor eax, eax
mov dword [esp + 0xa0], eax
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b0], 3
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x9c], esi
test edi, edi
jne 0x4e8008
call fcn.00589a8c
mov esi, dword [esi + 4]
test edi, edi
je 0x4e8013
mov eax, dword [edi]
jmp 0x4e8015
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e801f
call fcn.00589a8c
test edi, edi
jne 0x4e8095
call fcn.00589a8c
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e8034
call fcn.00589a8c
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
mov ebp, dword [esp + 0x24]
sar ecx, 3
cmp ebp, ecx
jb 0x4e804a
call fcn.00589a8c
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + ebp*8]
mov eax, dword [eax + ebp*8 + 4]
xor edx, edx
sub ecx, ebx
sbb eax, edx
cmp eax, edx
ja 0x4e81d4
jb 0x4e806e
cmp ecx, dword [esp + 0x1c]
jae 0x4e81d4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
test edi, edi
jne 0x4e8086
call fcn.00589a8c
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
test edi, edi
je 0x4e8099
mov eax, dword [edi]
jmp 0x4e809b
mov eax, dword [edi]
jmp 0x4e802a
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e80a5
call fcn.00589a8c
test edi, edi
jne 0x4e80fb
call fcn.00589a8c
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e80ba
call fcn.00589a8c
mov edx, dword [esi + 0x58]
sub edx, dword [esi + 0x54]
sar edx, 3
cmp ebp, edx
jb 0x4e80cc
call fcn.00589a8c
mov eax, dword [esi + 0x54]
mov esi, dword [eax + ebp*8]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esi, ebx
mov dword [esp + 0x9c], ecx
test edi, edi
jne 0x4e80ec
call fcn.00589a8c
mov edx, dword [esp + 0x18]
mov ebp, dword [edx + 4]
test edi, edi
je 0x4e80ff
mov eax, dword [edi]
jmp 0x4e8101
mov eax, dword [edi]
jmp 0x4e80b0
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e810b
call fcn.00589a8c
test edi, edi
jne 0x4e81cd
call fcn.00589a8c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4e8124
call fcn.00589a8c
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [ebp + 8]
push eax
lea edx, [esp + 0xc8]
push edx
call fcn.004e4d90
add esp, 0xc
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1bc], 4
mov dword [esp + 0x74], 3
mov dword [esp + 0x70], edi
mov dword [esp + 0x60], edi
call fcn.00406e60
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1b4], 5
call fcn.004e7940
mov ebx, 4
cmp dword [esp + 0x68], ebx
jb 0x4e819d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0058984a
add esp, 4
mov byte [esp + 0x1b0], 3
cmp dword [esp + 0xd8], ebx
jb 0x4e81be
mov edx, dword [esp + 0xc4]
push edx
call fcn.0058984a
add esp, 4
inc dword [esp + 0x24]
xor ebx, ebx
sub dword [esp + 0x1c], esi
jmp 0x4e7ff0
mov eax, dword [edi]
jmp 0x4e811a
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
test edi, edi
jne 0x4e81ec
call fcn.00589a8c
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
test edi, edi
je 0x4e81fb
mov eax, dword [edi]
jmp 0x4e81fd
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4e8207
call fcn.00589a8c
test edi, edi
jne 0x4e82ef
call fcn.00589a8c
cmp esi, dword [edi + 0x14]
jne 0x4e821e
call fcn.00589a8c
lea eax, [esi + 8]
push ebp
push eax
lea edx, [esp + 0xc8]
push edx
call fcn.004e4d90
add esp, 0xc
xor ebp, ebp
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1bc], 6
mov dword [esp + 0x74], 3
mov dword [esp + 0x70], ebp
mov dword [esp + 0x60], ebp
call fcn.00406e60
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1b4], 7
call fcn.004e7940
mov ebx, 4
cmp dword [esp + 0x68], ebx
jb 0x4e8297
mov edx, dword [esp + 0x54]
push edx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0xd8], ebx
jb 0x4e82b0
mov eax, dword [esp + 0xc4]
push eax
call fcn.0058984a
add esp, 4
xor esi, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x38]
sub eax, ebp
mov byte [esp + 0x1b0], 8
je 0x4e8527
sub eax, 1
jne 0x4e8576
push ebx
call fcn.00589ab7
add esp, 4
cmp eax, ebp
je 0x4e82f6
lea ecx, [esp + 0x7c]
mov dword [eax], ecx
jmp 0x4e82f8
mov edi, dword [edi]
jmp 0x4e8214
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov edx, dword [edi + 0x3c]
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x1b4], 0xb
call fcn.004922f0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc4]
call fcn.005197c0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1b0], 0xc
call fcn.00519670
mov ecx, dword [edi + 0x3c]
push ecx
push ebp
lea ecx, [esp + 0x84]
call fcn.00492410
push eax
lea ecx, [esp + 0xc8]
call fcn.00519010
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1b0], 0xb
call fcn.00519830
mov edx, dword [edi + 0x40]
push edx
call fcn.00589302
add esp, 4
mov byte [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], eax
call fcn.004e4400
mov dword [esp + 0x44], vtable.Maid::CompressZLIB.0
mov edx, dword [edi + 0x40]
mov eax, dword [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1b8], 0xe
call fcn.004922e0
push eax
push ebp
lea ecx, [esp + 0x8c]
call fcn.00492410
push eax
lea ecx, [esp + 0x54]
call fcn.00518600
mov esi, eax
cmp esi, dword [edi + 0x40]
je 0x4e846b
push 1
push 0x109
push str.._storagepackfilereader.cpp
lea ecx, [esp + 0x100]
call fcn.004e3750
push esi
lea ecx, [esp + 0xf8]
push 0x5d86bc
push ecx
mov byte [esp + 0x1bc], 0xf
call fcn.00402cc0
add esp, 8
mov ecx, eax
call fcn.00547860
push ebp
lea ecx, [esp + 0xf8]
call fcn.004e38c0
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 0xe
call fcn.00401f70
lea edx, [esp + 0x170]
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
push 0x1c
call fcn.00589ab7
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1b0], 0x10
cmp eax, ebp
je 0x4e8497
mov ecx, dword [edi + 0x40]
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, eax
call fcn.005188a0
jmp 0x4e8499
xor eax, eax
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1b4], 0xe
call fcn.004e4540
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], vtable.Maid::ICompress.0
mov byte [esp + 0x1b0], 0xb
cmp eax, ebp
je 0x4e84ef
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4e84ef
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4e84ef
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x88]
cmp eax, ebp
je 0x4e8503
push eax
call fcn.0058984a
add esp, 4
mov eax, dword [esp + 0x7c]
push eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
call fcn.0058984a
add esp, 4
jmp 0x4e8566
push 0x2c
call fcn.00589ab7
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1b0], 9
cmp eax, ebp
je 0x4e8552
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.005197c0
jmp 0x4e8554
xor eax, eax
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1b4], 8
call fcn.004e44c0
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
cmp eax, ebp
jne 0x4e85f8
mov byte [esp + 0x1b0], 3
cmp esi, ebp
je 0x4e85ac
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4e85ac
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4e85ac
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.004e6900
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4e85d0
call fcn.00589a8c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
test esi, esi
je 0x4e85e3
mov eax, dword [esi]
jmp 0x4e85e5
xor eax, eax
cmp ecx, dword [eax + 0x14]
jne 0x4e7ab0
call fcn.00589a8c
jmp 0x4e7ab0
mov edi, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp esi, ebp
je 0x4e8611
lea ecx, [esi + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov byte [esp + 0x1b0], 3
cmp esi, ebp
je 0x4e8647
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4e8647
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4e8647
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [esp + 0xa0]
call fcn.004e6900
mov eax, edi
jmp 0x4e8668
mov eax, dword [esp + 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00589f78
add esp, 0x1a0
ret 8