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

Disassembly:
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x8c]
push 0x5ef810
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2d0], 0xa
call fcn.004caea0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0xb
call 0x5e3845
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2c8], 0xa
call 0x5e370c
lea ecx, [esp + 0xb8]
push 0x5ef7ec
push ecx
lea ecx, [esp + 0x50]
call fcn.004caea0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 0xc
add byte [eax], al
or al, 0xe8
mov ebp, 0x8d000da9
mov word [eax + edi*4], fs
add byte [eax], al
add dh, al
test byte [eax + ecx*8], ah
add al, byte [eax]
add byte [edx], cl
call 0x5e370c
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
jne 0x509441
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0x32
jge 0x509441
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x30]
push edx
push eax
add ecx, 0x5b24
mov byte [esp + 0x2d0], 0xd
call 0x5e22cc
test eax, eax
jne 0x508f16
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call 0x5cb3ed
add esp, 8
test eax, eax
je 0x508f16
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x10]
push edx
add ecx, 0x5b24
push eax
call 0x5e22f2
mov ecx, eax
call 0x5e3895
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c8], 0xa
call 0x5e370c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], 9
call 0x5e370c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c8], 8
call 0x5e370c
push 0x5ef7f8
lea ecx, [esp + 0x4c]
call fcn.00519fd0
test al, al
jne 0x508e0f
lea ecx, [esp + 0x48]
call fcn.0051a560
lea ebp, [esi + 0x6c]
push 0xffffffffffffffff
push edi
mov ecx, ebp
mov dword [esi + 0x68], edi
call 0x5e16e6
lea ebx, [esi + 0x80]
push 0xffffffffffffffff
push edi
mov ecx, ebx
call 0x5e16e6
push 0xffffffffffffffff
lea ecx, [esi + 0x94]
push edi
call 0x5e16e6
push 0xffffffffffffffff
lea ecx, [esi + 0xa8]
push edi
call 0x5e16e6
mov ecx, dword [esi + 0xd8]
push edi
push edi
push 0x1009
push ecx
call dword [0x5977c4]
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x5096ea
mov eax, dword [eax + 0x5b30]
neg eax
sbb eax, eax
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x5096ea
add dword [eax], eax
invalid
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [esi + 0x5c]
mov byte [esp + 0x2d4], 0x31
add ecx, 0x5b24
call 0x5e23b8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call 0x5e3481
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x2cc], 0x32
call 0x5e3481
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2c8], 0x33
cmp dword [ecx - 8], 0xc
jne 0x5095e5
push 0x5fe7d8
lea ecx, [esp + 0x1c]
call 0x5e377a
mov byte [esp + 0x2c8], 0x34
push 2
lea edx, [esp + 0x3c]
push edi
push edx
lea ecx, [esp + 0x20]
and al, ch
cld
push ebx
or eax, 0x4c8d5000
and al, 0x1c
mov byte [esp + 0x2cc], 0x35
call 0x5e3b24
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c8], 0x34
call 0x5e370c
cmp edi, 0xa
je 0x5095bc
push 0x5e77b8
lea ecx, [esp + 0x1c]
call 0x5e3ae8
add edi, 2
cmp edi, 0xc
jl 0x509575
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call 0x5e3845
or eax, 0x244c8d00
sbb dh, al
test byte [eax + ecx*8], ah
add al, byte [eax]
add byte [ebx], dh
call 0x5e370c
xor edi, edi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call 0x5e3845
mov eax, dword [ebp + 8]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call 0x5e18bb
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call 0x5e18bb
mov eax, dword [esi + 0x9c]
lea ecx, [esi + 0x94]
lea edx, [esp + 0x20]
push edx
push eax
call 0x5e18bb
mov eax, dword [0x5f9f88]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x5c]
mov byte [esp + 0x2c8], 0x36
cmp eax, edi
je 0x509674
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [eax + 0x5b40]
call 0x5e22cc
test eax, eax
je 0x509674
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0xa8]
lea edx, [esp + 0x1c]
push edx
push eax
call 0x5e18bb
jmp 0x50968b
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0xa8]
push 0x5fe7d8
push eax
call 0x5e188f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], 0x33
call 0x5e370c
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c8], 0x32
call 0x5e370c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c8], 0x31
call 0x5e370c
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c8], 0x30
call 0x5e370c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c8], 8
call 0x5e370c
cmp dword [esp + 0x30], edi
jne 0x5094f3
mov ecx, esi
call fcn.00508060
mov eax, dword [esi + 0x1c]
push 0x40
push 0x5e7590
push 0x5ec7a0
push eax
call dword [0x597710]
jmp 0x50971b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c8], 7
call 0x5e370c
mov edx, dword [esp + 0x7c]
xor esi, esi
dec edx
mov byte [esp + 0x2c8], 0x38
sar edx, 0x10
inc edx
test edx, edx
jle 0x509764
mov eax, dword [esp + 0x78]
mov eax, dword [eax + esi*4]
push eax
call 0x5e2b2c
mov ecx, dword [esp + 0x80]
add esp, 4
inc esi
dec ecx
sar ecx, 0x10
inc ecx
cmp esi, ecx
jl 0x509743
mov eax, dword [esp + 0x78]
cmp eax, edi
je 0x509775
push eax
call 0x5e2b2c
add esp, 4
mov ecx, dword [esp + 0x74]
cmp ecx, edi
je 0x5097b8
mov eax, dword [ecx + edi]
test eax, eax
je 0x5097a5
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4bdbe0
push edx
push 0xc
push eax
call 0x5cae4b
push esi
call 0x5e2b2c
mov ecx, dword [esp + 0x78]
add esp, 4
add edi, 4
cmp edi, 0x1c
jl 0x50977d
push ecx
call 0x5e2b2c
add esp, 4
xor edi, edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], edi
mov byte [esp + 0x2c8], 0x37
call 0x5e370c
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c8], 2
call 0x5e370c
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c8], 0
call 0x5e370c
mov dword [esp + 0x2c8], 0x39
lea ecx, [esp + 0x174]
call 0x5e370c
lea ecx, [esp + 0xc8]
mov dword [esp + 0x2c8], 0xffffffff
enter 2, 0
invalid
invalid
invalid
invalid
call 0x5e2cd3
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2bc
ret