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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x70]
test eax, eax
mov eax, dword [esp + 0x78]
sete dl
test eax, eax
mov dword [esp + 0x48], 0
sete al
mov dword [esp + 0x4c], 0
or dl, al
jne 0x50953b
mov eax, dword [esp + 0x74]
test eax, eax
je 0x50953b
mov ecx, 0xd
mov edi, 0x749f4c
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
repe cmpsb byte [esi], byte es:[edi]
seta cl
setb dl
mov eax, dword [eax + 0x10]
cmp cl, dl
jne 0x509470
and eax, 0xfffcffff
mov esi, dword [esp + 0x80]
or eax, 0x10000
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x64]
test byte [eax + 0x34], 0x10
jne 0x509e96
mov dword [esp + 0x10], 0x4f2
mov dword [esp + 0xc], 0x749d60
mov dword [esp + 8], 0x9e
mov dword [esp + 4], 0x14b
mov dword [esp], 0x14
xor esi, esi
call fcn.0055ae30
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, 0x749f5a
mov ecx, 0xb
mov esi, dword [esp + 0x7c]
repe cmpsb byte [esi], byte es:[edi]
je 0x509547
mov edi, 0x749f66
mov ecx, 9
mov esi, dword [esp + 0x7c]
repe cmpsb byte [esi], byte es:[edi]
jne 0x509e47
mov esi, dword [esp + 0x80]
or eax, 0x30000
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x64]
test byte [eax + 0x34], 0x10
je 0x509436
mov dword [esp + 0x7c], 0x749f10
jmp 0x50956b
mov eax, dword [esp + 0x80]
mov dword [esp], ebx
add eax, 0xe4
lea ecx, [esp + 0x4c]
mov dword [esp + 4], eax
lea edx, [esp + 0x48]
mov eax, 0x749f84
call fcn.00508420
mov esi, dword [esp + 0x7c]
cmp byte [esi + 7], 0x3a
je 0x509ea3
mov ecx, dword [esp + 0x7c]
add ecx, 7
mov dword [esp + 0x7c], ecx
test eax, eax
jne 0x509cb2
mov dword [esp + 8], 0x5c4
mov dword [esp + 4], 0x749d60
mov dword [esp], ebx
call fcn.0057d150
mov dword [esp + 8], 0x5c7
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x749d60
mov dword [esp], eax
call fcn.0057d150
xor esi, esi
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
or eax, 0x30000
mov esi, dword [esp + 0x80]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x64]
test byte [eax + 0x34], 0x10
je 0x509436
mov dword [esp + 0x7c], 0x749ed3
mov eax, dword [0x7bac64]
mov dword [esp + 0x30], eax
mov eax, dword [0x7bac60]
mov dword [esp + 0x34], eax
mov eax, dword [0x7bac6c]
mov dword [esp + 0x38], eax
mov eax, dword [0x7bac68]
mov dword [esp + 0x3c], eax
call dword [ebx + 0x58]
mov dword [esp + 0x28], eax
mov esi, eax
lea eax, [eax + eax*4]
mov dword [esp + 8], 0x534
shl eax, 2
mov dword [esp + 4], 0x749d60
mov dword [esp], eax
call fcn.0057d170
mov dword [esp + 0x2c], eax
test eax, eax
je 0x509f40
test esi, esi
jle 0x509de7
xor esi, esi
xor edi, edi
nop
mov dword [esp], edi
call dword [ebx + 0x5c]
mov ebp, eax
test eax, eax
je 0x509650
mov eax, dword [eax]
test eax, eax
je 0x509650
call fcn.00588a30
test eax, eax
je 0x5095f1
test byte [ebp + 0x2c], 0x10
jne 0x509650
mov eax, dword [esp + 0x30]
test dword [ebp + 0xc], eax
jne 0x509650
mov eax, dword [esp + 0x34]
test dword [ebp + 0x10], eax
jne 0x509650
mov eax, dword [esp + 0x38]
test dword [ebp + 0x14], eax
jne 0x509650
mov eax, dword [esp + 0x3c]
test dword [ebp + 0x18], eax
jne 0x509650
mov eax, dword [ebx + 0x64]
test byte [eax + 0x34], 8
jne 0x509e37
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x509650
lea eax, [esi + esi*4]
mov ecx, dword [esp + 0x2c]
inc esi
lea eax, [ecx + eax*4]
mov dword [eax], ebp
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 4], 0
nop
lea esi, [esi]
inc edi
cmp dword [esp + 0x28], edi
jne 0x5095d0
test esi, esi
je 0x509de7
lea ebx, [esi + esi*4]
mov eax, dword [esp + 0x2c]
shl ebx, 2
mov edx, eax
mov dword [eax + 0x10], 0
cmp esi, 1
lea ecx, [eax + ebx - 0x14]
je 0x5096af
lea eax, [eax + 0x14]
cmp esi, 2
mov dword [edx + 0xc], eax
je 0x5096a0
mov eax, edx
lea esi, [edx + ebx - 0x28]
lea edx, [eax + 0x28]
mov dword [eax + 0x24], eax
mov dword [eax + 0x20], edx
add eax, 0x14
cmp esi, eax
jne 0x509690
mov eax, dword [esp + 0x2c]
lea eax, [eax + ebx - 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov esi, eax
xor edi, edi
mov ebx, ecx
mov eax, esi
cmp ecx, edi
je 0x50972e
lea esi, [esi]
test eax, eax
je 0x50972e
mov edx, dword [eax]
mov ebp, dword [eax + 0xc]
test byte [edx + 0xc], 4
je 0x509726
test byte [edx + 0x10], 8
je 0x509726
mov edx, dword [eax + 4]
test edx, edx
jne 0x509726
cmp eax, ebx
je 0x50971f
cmp eax, esi
je 0x509f10
mov edx, dword [eax + 0x10]
test edx, edx
je 0x509f1d
mov dword [edx + 0xc], ebp
mov edi, dword [eax + 0xc]
test edi, edi
je 0x509710
mov dword [edi + 0x10], edx
mov dword [ebx + 0xc], eax
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], 0
mov ebx, eax
mov dword [eax + 4], 1
mov edi, eax
mov eax, ebp
cmp ecx, edi
jne 0x5096d0
lea eax, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov eax, 4
mov dword [esp + 4], 1
mov dword [esp], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov eax, 4
mov dword [esp + 4], 3
mov dword [esp], 0
xor edi, edi
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov edx, 0x3000
xor eax, eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov dword [esp], 0
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov edx, 0x80000
xor eax, eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov dword [esp], 0
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
xor ecx, ecx
xor eax, eax
mov edx, 0x3c0c0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov dword [esp], 0
call fcn.00507f90
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov eax, ebx
mov edx, esi
test eax, eax
je 0x5098a1
cmp esi, edi
je 0x5098a1
mov edi, dword [eax + 4]
mov ecx, dword [eax + 0xc]
test edi, edi
jne 0x509899
cmp eax, edx
je 0x509892
cmp eax, ebx
je 0x509de0
mov edi, dword [eax + 0x10]
test edi, edi
je 0x509dd2
mov dword [edi + 0xc], ecx
mov ebp, dword [eax + 0xc]
test ebp, ebp
je 0x509883
mov dword [ebp + 0x10], edi
mov dword [edx + 0xc], eax
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0
mov edx, eax
mov dword [eax + 4], 1
mov edi, eax
mov eax, ecx
test eax, eax
jne 0x509851
mov eax, ebx
xor edi, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov ecx, edx
test eax, eax
je 0x509904
cmp edi, edx
je 0x509904
mov edi, dword [eax]
mov esi, dword [eax + 0xc]
test byte [edi + 0x18], 1
je 0x5098fc
mov ebp, dword [eax + 4]
test ebp, ebp
je 0x5098fc
cmp eax, ecx
je 0x5098fc
cmp eax, ebx
je 0x509e10
mov edi, dword [eax + 0x10]
test edi, edi
je 0x509e07
mov dword [edi + 0xc], esi
mov ebp, dword [eax + 0xc]
test ebp, ebp
je 0x5098ed
mov dword [ebp + 0x10], edi
mov dword [ecx + 0xc], eax
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0
mov ecx, eax
mov edi, eax
mov eax, esi
test eax, eax
jne 0x5098b3
xor edi, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
mov esi, ecx
mov eax, ebx
cmp edi, ecx
je 0x509967
test eax, eax
je 0x509967
mov edi, dword [eax]
mov edx, dword [eax + 0xc]
test byte [edi + 0x10], 4
je 0x50995f
mov edi, dword [eax + 4]
test edi, edi
je 0x50995f
cmp eax, esi
je 0x50995f
cmp eax, ebx
je 0x509e30
mov edi, dword [eax + 0x10]
test edi, edi
je 0x509e27
mov dword [edi + 0xc], edx
mov ebp, dword [eax + 0xc]
test ebp, ebp
je 0x509950
mov dword [ebp + 0x10], edi
mov dword [esi + 0xc], eax
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], 0
mov esi, eax
mov edi, eax
mov eax, edx
cmp edi, ecx
jne 0x509916
lea eax, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov eax, 1
mov dword [esp + 4], 4
mov dword [esp], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0xc], eax
xor edx, edx
mov eax, 8
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 4
mov dword [esp], 0
xor edi, edi
call fcn.00507f90
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, esi
mov ebx, ecx
test eax, eax
je 0x509a41
nop
lea esi, [esi]
cmp ecx, edi
je 0x509a41
mov edi, dword [eax]
mov edx, dword [eax + 0xc]
test byte [edi + 0x14], 4
je 0x509a39
mov ebp, dword [eax + 4]
test ebp, ebp
je 0x509a39
cmp eax, ebx
je 0x509a39
cmp eax, esi
je 0x509e20
mov edi, dword [eax + 0x10]
test edi, edi
je 0x509e17
mov dword [edi + 0xc], edx
mov ebp, dword [eax + 0xc]
test ebp, ebp
je 0x509a2a
mov dword [ebp + 0x10], edi
mov dword [ebx + 0xc], eax
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], 0
mov ebx, eax
mov edi, eax
mov eax, edx
test eax, eax
jne 0x5099f0
lea edx, [esp + 0x4c]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
call fcn.00508270
test eax, eax
je 0x509f24
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor edi, edi
mov ebx, ecx
mov eax, esi
cmp ecx, edi
je 0x509ac8
test eax, eax
je 0x509ac8
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
cmp dword [edi + 0x1c], 0x303
jne 0x509ac0
mov edi, dword [eax + 4]
test edi, edi
je 0x509ac0
cmp eax, ebx
je 0x509ac0
cmp eax, esi
je 0x509f07
mov edi, dword [eax + 0xc]
test edi, edi
je 0x509f00
mov dword [edi + 0x10], edx
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x509aad
mov dword [ebp + 0xc], edi
mov dword [ebx + 0x10], eax
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov ebx, eax
lea esi, [esi]
mov edi, eax
mov eax, edx
cmp ecx, edi
jne 0x509a70
lea eax, [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov ecx, 0x40
xor eax, eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 6
mov dword [esp], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov eax, 6
mov dword [esp + 4], 6
mov dword [esp], 0
xor esi, esi
call fcn.00507f90
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov ecx, 0x40
xor edx, edx
mov eax, 6
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 6
mov dword [esp], 0
call fcn.00507f90
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebx, ecx
mov eax, edi
cmp ecx, esi
je 0x509bd4
test eax, eax
je 0x509bd4
mov esi, dword [eax + 4]
mov edx, dword [eax + 0x10]
test esi, esi
je 0x509bcc
cmp eax, ebx
je 0x509bc5
cmp eax, edi
je 0x509e00
mov esi, dword [eax + 0xc]
test esi, esi
je 0x509df4
mov dword [esi + 0x10], edx
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x509bb6
mov dword [ebp + 0xc], esi
mov dword [ebx + 0x10], eax
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov ebx, eax
mov dword [eax + 4], 0
mov esi, eax
mov eax, edx
cmp ecx, esi
jne 0x509b84
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x5a9
mov dword [esp + 4], 0x749d60
mov dword [esp + 0x48], ebx
lea eax, [eax*4 + 0x124]
mov dword [esp + 0x4c], edi
mov dword [esp], eax
call fcn.0057d170
mov ebx, eax
test eax, eax
je 0x509f73
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
xor esi, 0xffffffff
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x38]
xor esi, 0xffffffff
xor edi, 0xffffffff
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x3c]
xor esi, 0xffffffff
mov edx, ebx
mov dword [esp + 0x34], esi
test eax, eax
je 0x509c4e
nop
lea esi, [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
add edx, 4
test eax, eax
jne 0x509c40
mov eax, 0x74a2e0
mov ebp, 0x74b3c0
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
test ecx, ecx
je 0x509c66
test edi, ecx
je 0x509c8f
test esi, esi
je 0x509c70
test dword [esp + 0x28], esi
je 0x509c8f
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x509c7d
test dword [esp + 0x30], ecx
je 0x509c8f
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x509c8a
test dword [esp + 0x34], ecx
je 0x509c8f
mov dword [edx], eax
add edx, 4
add eax, 0x3c
cmp ebp, eax
jne 0x509c58
mov dword [edx], 0
mov edi, 0x749f7a
mov ecx, 7
mov esi, dword [esp + 0x7c]
repe cmpsb byte [esi], byte es:[edi]
je 0x5094c1
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
jne 0x509eb3
mov dword [esp + 8], 0x5c4
mov dword [esp + 4], 0x749d60
mov dword [esp], ebx
call fcn.0057d150
call fcn.005aa870
mov esi, eax
test eax, eax
je 0x509fa8
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x509cf7
jmp 0x509d50
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x509d50
mov eax, dword [ebx + 4]
test eax, eax
je 0x509cf0
call fcn.00588a30
test eax, eax
mov eax, dword [ebx]
je 0x509d0f
test byte [eax + 0x2c], 0x10
je 0x509cf0
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.005aace0
test eax, eax
jne 0x509cf0
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0x5dc
mov dword [esp], eax
mov dword [esp + 4], 0x749d60
call fcn.0057d150
mov dword [esp], esi
call fcn.005ab010
add esp, 0x5c
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0x5e5
mov dword [esp], eax
mov dword [esp + 4], 0x749d60
call fcn.0057d150
mov dword [esp], esi
call fcn.005aa620
mov ebx, eax
test eax, eax
je 0x509f99
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005ab010
mov eax, dword [esp + 0x74]
mov dword [eax], esi
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
test eax, eax
je 0x509da4
mov dword [esp], eax
call fcn.005ab010
mov eax, dword [esp + 0x78]
mov dword [eax], ebx
mov dword [esp], ebx
mov dword [esp + 4], 0x4dc830
call fcn.005aa600
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005ab0d0
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, ecx
jmp 0x50987c
mov ebx, ecx
jmp 0x50986b
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
jmp 0x5096c0
mov ebp, edx
jmp 0x509baf
mov edi, edx
jmp 0x509b9e
mov ebp, esi
jmp 0x5098e6
mov ebx, esi
jmp 0x5098d5
mov ebp, edx
jmp 0x509a23
mov esi, edx
jmp 0x509a12
mov ebp, edx
jmp 0x509949
mov ebx, edx
jmp 0x509938
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x509629
jmp 0x509650
mov edi, 0x749f70
mov ecx, 9
mov esi, dword [esp + 0x7c]
repe cmpsb byte [esi], byte es:[edi]
je 0x509f31
and eax, 0x30000
je 0x50956b
mov edx, dword [ebx + 0x64]
test byte [edx + 0x34], 0x10
je 0x509436
cmp eax, 0x20000
je 0x509563
cmp eax, 0x30000
je 0x5094b4
cmp eax, 0x10000
jne 0x50956b
mov dword [esp + 0x7c], 0x749ef1
jmp 0x50956b
mov edx, dword [esp + 0x7c]
add edx, 8
mov dword [esp + 0x7c], edx
jmp 0x5094ff
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x4c]
add eax, 0xe4
lea edx, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov eax, dword [esp + 0x7c]
call fcn.00508420
mov dword [esp + 8], 0x5c4
mov esi, eax
mov dword [esp + 4], 0x749d60
mov dword [esp], ebx
call fcn.0057d150
test esi, esi
jne 0x509cd7
jmp 0x50951f
mov ebp, edx
jmp 0x509aa6
mov esi, edx
jmp 0x509a95
mov edx, dword [eax + 0x10]
mov esi, ebp
test edx, edx
jne 0x509703
mov edi, ebp
jmp 0x509709
mov dword [esp + 8], 0x57d
jmp 0x509527
and eax, 0xfffcffff
or eax, 0x20000
jmp 0x50954c
mov dword [esp + 0x10], 0x536
mov dword [esp + 0xc], 0x749d60
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0xa6
mov dword [esp], 0x14
call fcn.0055ae30
xor esi, esi
jmp 0x50953d
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0x5ab
mov dword [esp + 4], 0x749d60
mov dword [esp], eax
call fcn.0057d150
mov dword [esp + 0x10], 0x5ac
jmp 0x509f48
mov dword [esp], esi
xor esi, esi
call fcn.005ab010
jmp 0x509464
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0x5d0
mov dword [esp + 4], 0x749d60
mov dword [esp], eax
call fcn.0057d150
jmp 0x509464