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

Disassembly:
push 0xffffffffffffffff
push 0x4df3b7
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde8598]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00498990
test al, al
je 0x498bd9
cmp dword [ebx + 0x4c], 0
je 0x498bef
lea esi, [ebx + 0x38]
push esi
call fcn.00479da0
add esp, 4
test al, al
jne 0x498bef
cmp dword [esi + 0x18], 0x10
jb 0x498ba3
mov esi, dword [esi + 4]
jmp 0x498ba6
add esi, 4
push esi
lea eax, [esp + 0x3c]
push 0x504fd0
push eax
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 0x505034
mov dword [esp + 0x4c], 0x504f60
mov dword [esp + 0x50], 0x16f
call fcn.0040c600
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx + 0x30], 0
je 0x498c5c
lea esi, [ebx + 0x1c]
push esi
call fcn.00479da0
add esp, 4
test al, al
jne 0x498c5c
cmp dword [esi + 0x18], 0x10
jb 0x498c10
mov esi, dword [esi + 4]
jmp 0x498c13
add esi, 4
push esi
lea ecx, [esp + 0x3c]
push 0x504fd0
push ecx
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 0x505034
mov dword [esp + 0x4c], 0x504f60
mov dword [esp + 0x50], 0x175
call fcn.0040c600
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx + 0xa0], 0
je 0x498e45
lea edx, [esp + 0x1c]
lea esi, [ebx + 0x8c]
push edx
mov ecx, esi
call dword [0x4eb2dc]
mov edi, eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [0x4eb2d8]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov ebp, eax
call dword [0x4eb2dc]
mov edx, dword [0x4eb358]
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00410640
mov edi, dword [0x4eb2fc]
push esi
push 0x505028
call edi
add esp, 0x28
test al, al
je 0x498cdd
push 0x505018
jmp 0x498cf1
push esi
push 0x4fc6bc
call edi
add esp, 8
test al, al
je 0x498cf9
push 0x505008
mov ecx, esi
call dword [0x4eb248]
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [0x4eb7bc]
mov ebp, dword [0x4eba0c]
push 0xffffffffffffffff
push 0x4ef2b4
mov dword [esp + 0x7c], 0
call ebp
add esp, 0x10
mov dword [esp + 0x1c], eax
push 1
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, 0xde9ce4
mov byte [esp + 0x7c], 1
call dword [0x4eb734]
mov ecx, dword [esp + 0x1c]
mov edi, dword [0x4eba10]
mov byte [esp + 0x6c], 3
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x498d63
mov eax, dword [esp + 0x1c]
push eax
call edi
add esp, 4
push 1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x23]
push eax
call dword [0x4eba08]
movzx ecx, byte [esp + 0x27]
add esp, 0x10
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x17]
test edx, ecx
jne 0x498e16
cmp dword [esi + 0x18], 0x10
jb 0x498d9d
mov esi, dword [esi + 4]
jmp 0x498da0
add esi, 4
push esi
lea eax, [esp + 0x3c]
push 0x504fe8
push eax
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 0x505034
mov dword [esp + 0x4c], 0x504f60
mov dword [esp + 0x50], 0x189
call fcn.0040c600
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.00402de0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x498e00
mov eax, dword [esp + 0x18]
push eax
call edi
add esp, 4
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.00402de0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x498e4b
mov eax, dword [esp + 0x18]
push eax
call edi
add esp, 4
jmp 0x498e4b
mov ebp, dword [0x4eba0c]
cmp dword [ebx + 0xbc], 0
je 0x498fd6
push 1
push 0
lea esi, [ebx + 0xa8]
push 0x4f9564
mov ecx, esi
call dword [0x4eb2d0]
mov ecx, dword [0x4eb2cc]
mov edi, eax
cmp edi, dword [ecx]
je 0x498f7d
push edi
push 0
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call dword [0x4eb2e4]
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x6c], 4
jb 0x498ea2
mov eax, dword [eax + 4]
jmp 0x498ea5
add eax, 4
push 0xffffffffffffffff
push eax
call ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x78], 5
call fcn.0040d680
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov ebp, eax
mov byte [esp + 0x6c], 4
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x498ee2
mov eax, dword [esp + 0x24]
push eax
call dword [0x4eba10]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 0xffffffff
call dword [0x4eb23c]
test ebp, ebp
jle 0x498bd9
mov ecx, dword [0x4eb2cc]
mov edx, dword [ecx]
push edx
inc edi
push edi
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call dword [0x4eb2e4]
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x6c], 6
jb 0x498f27
mov eax, dword [eax + 4]
jmp 0x498f2a
add eax, 4
push 0xffffffffffffffff
push eax
call dword [0x4eba0c]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x78], 7
call fcn.0040d680
mov edx, dword [esp + 0x30]
add esp, 0xc
mov byte [esp + 0x6c], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x498f69
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x4eba10]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 0xffffffff
call dword [0x4eb23c]
jmp 0x498fce
cmp dword [esi + 0x18], 0x10
jb 0x498f88
mov esi, dword [esi + 4]
jmp 0x498f8b
add esi, 4
push 0xffffffffffffffff
push esi
call ebp
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x78], 8
call fcn.0040d680
mov ebp, eax
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x6c], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x498fce
mov edx, dword [esp + 0x24]
push edx
call dword [0x4eba10]
add esp, 4
test ebp, ebp
jle 0x498bd9
cmp dword [ebx + 0x68], 0
je 0x499043
lea esi, [ebx + 0x54]
push esi
call fcn.00479da0
add esp, 4
test al, al
jne 0x499043
cmp dword [esi + 0x18], 0x10
jb 0x498ff7
mov esi, dword [esi + 4]
jmp 0x498ffa
add esi, 4
push esi
lea eax, [esp + 0x3c]
push 0x504fd0
push eax
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 0x505034
mov dword [esp + 0x4c], 0x504f60
mov dword [esp + 0x50], 0x1a8
call fcn.0040c600
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx + 0x84], 0
je 0x4990b3
lea esi, [ebx + 0x70]
push esi
call fcn.00479da0
add esp, 4
test al, al
jne 0x4990b3
cmp dword [esi + 0x18], 0x10
jb 0x499067
mov esi, dword [esi + 4]
jmp 0x49906a
add esi, 4
push esi
lea ecx, [esp + 0x58]
push 0x504fd0
push ecx
mov dword [esp + 0x60], 4
mov dword [esp + 0x64], 0x505034
mov dword [esp + 0x68], 0x504f60
mov dword [esp + 0x6c], 0x1ae
call fcn.0040c600
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret