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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov ebp, dword [esp + 0xe0]
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x14], eax
cmp eax, 1
je 0x493628
mov dword [0x57c744], 9
xor eax, eax
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 0x50]
lea eax, [esi - 1]
cmp eax, 1
jbe 0x493640
mov dword [0x57c744], 0x10
jmp 0x493617
mov edi, dword [ebp + 0x4c]
lea eax, [edi - 1]
cmp eax, 1
jbe 0x493660
mov dword [0x57c744], 0x13
jmp 0x493617
imul edx, eax, 0x88
mov dword [esp + 0x6c], 3
mov dword [esp + 0x7c], 1
mov edx, dword [edx + 0x542d9c]
mov dword [esp + 0x70], edx
cmp dword [ebp], edx
jb 0x49386a
mov edx, dword [0x57c748]
lea eax, [eax + edx - 1]
mov dword [esp + 0x94], edx
imul eax, eax, 0x88
mov eax, dword [eax + 0x542d98]
mov dword [esp], eax
mov dword [esp + 0x88], eax
call sym._malloc
mov dword [esp + 0x80], eax
test eax, eax
je 0x493f56
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4937cb
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp + 8], esi
mov dword [esp + 0x30], eax
mov dword [esp], eax
cmp edi, 1
je 0x4938e3
call sym._elf64_xlatetom
mov edx, dword [esp + 0x80]
test eax, eax
je 0x4937fa
mov dword [ebp + 0x58], edx
test edx, edx
je 0x493617
mov eax, dword [ebp + 0x4c]
cmp eax, 1
je 0x4937d3
cmp eax, 2
jne 0x4937bc
mov ebx, dword [edx + 0x2c]
movzx edi, word [edx + 0x3c]
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x3a]
test ebx, ebx
jne 0x49385b
test esi, esi
jne 0x493812
movzx ecx, word [edx + 0x38]
mov esi, dword [edx + 0x20]
movzx eax, word [edx + 0x36]
mov edx, dword [edx + 0x24]
test edx, edx
jne 0x49385b
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 2
test esi, esi
je 0x4938d9
cmp dword [esp + 0x18], 0xffff
je 0x4939c0
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x54]
mov ecx, dword [esp + 0x1c]
sub eax, 1
add edx, eax
sub edx, 1
imul edx, edx, 0x88
cmp dword [edx + 0x542db4], ecx
je 0x4939e2
mov dword [0x57c744], 0x37
jmp 0x493617
mov dword [0x57c744], 3
jmp 0x493617
mov eax, dword [ebp + 0xc]
jmp 0x4936cf
mov esi, dword [edx + 0x20]
movzx edi, word [edx + 0x30]
movzx ecx, word [edx + 0x2e]
test esi, esi
jne 0x493812
movzx eax, word [edx + 0x2c]
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x2a]
mov dword [esp + 0x1c], eax
jmp 0x493772
test edx, edx
je 0x493806
mov dword [esp], edx
call sym._free
mov dword [ebp + 0x58], 0
jmp 0x493617
mov edx, dword [ebp]
mov dword [esp + 0x24], ecx
cmp edx, esi
jb 0x49385b
mov ecx, dword [ebp + 0x54]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], 9
mov dword [esp + 0x64], ecx
lea ecx, [eax + ecx - 2]
imul ecx, ecx, 0x88
mov ecx, dword [ecx + 0x542dcc]
mov dword [esp + 0x58], ecx
cmp ecx, ebx
je 0x4938ed
mov dword [0x57c744], 0x36
jmp 0x493617
mov dword [0x57c744], 0x23
jmp 0x493617
mov dword [0x57c744], 0x2b
mov dword [ebp + 0x58], 0
jmp 0x493617
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._elf64_xlatetom
mov edx, dword [esp + 0x80]
test eax, eax
je 0x493aed
test edx, edx
je 0x493abd
mov eax, dword [esp + 0x1c]
add edi, 1
add esi, eax
mov eax, dword [esp + 0x20]
add ebx, eax
cmp dword [esp + 0x18], edi
jne 0x493a25
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x60], eax
mov eax, 1
jmp 0x493619
call sym._elf32_xlatetom
jmp 0x4936ff
mov dword [esp + 0x7c], 1
test edi, edi
jne 0x49399f
mov ecx, dword [esp + 0x24]
sub edx, esi
cmp edx, ecx
jb 0x4939b1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x493f21
add edx, esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x68], ecx
cmp eax, 1
je 0x493f01
cmp eax, 2
jne 0x4937bc
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._elf64_xlatetom
test eax, eax
je 0x493617
mov eax, dword [ebp + 0x4c]
cmp eax, 1
je 0x493995
cmp eax, 2
je 0x493f2b
xor eax, eax
mov dword [esp], eax
call sym._malloc
mov ebx, eax
test eax, eax
jne 0x493f4a
mov dword [0x57c744], 0x41
jmp 0x493617
mov edi, dword [esp + 0x94]
mov edx, dword [ebp]
mov eax, edx
xor edx, edx
sub eax, esi
div dword [esp + 0x24]
cmp eax, edi
jae 0x493b1b
mov dword [0x57c744], 0x2d
jmp 0x493617
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x493ef2
cmp dword [esp + 0x14], 1
je 0x493ee6
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x18], eax
jmp 0x493788
add eax, dword [0x57c748]
sub eax, 1
imul eax, eax, 0x88
mov ecx, dword [eax + str.___f_f_b_b__]
mov eax, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp], eax
call sym._malloc
mov dword [esp + 0x28], eax
test eax, eax
je 0x493f7b
xor edi, edi
cmp dword [esp + 0x18], 0
mov ebx, eax
je 0x4938cb
mov eax, dword [ebp]
cmp eax, esi
jb 0x493ad5
mov ecx, dword [ebp + 0x54]
mov edx, dword [ebp + 0x4c]
sub eax, esi
mov dword [esp + 0x6c], 6
mov dword [esp + 0x14], ecx
mov dword [esp + 0x7c], ecx
lea ecx, [edx - 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + edx - 2]
imul ecx, ecx, 0x88
mov ecx, dword [ecx + 0x542db4]
mov dword [esp + 0x70], ecx
cmp eax, ecx
jb 0x493ae1
mov eax, dword [0x57c748]
lea ecx, [edx - 1]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x94], eax
lea eax, [eax + ecx - 1]
imul eax, eax, 0x88
mov eax, dword [eax + str.___f_f_b_b__]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x493ace
add eax, esi
mov dword [esp + 0x68], eax
cmp edx, 1
je 0x493afb
cmp edx, 2
je 0x493880
mov dword [0x57c744], 3
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._free
jmp 0x493617
mov eax, dword [ebp + 0xc]
add eax, esi
jmp 0x493aa1
mov dword [0x57c744], 0x23
jmp 0x493abd
mov dword [0x57c744], 0x2c
jmp 0x493abd
cmp ebx, edx
je 0x493abd
mov dword [esp], edx
call sym._free
jmp 0x493abd
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._elf32_xlatetom
jmp 0x49389b
imul edx, edi, 0xa8
mov dword [esp], edx
mov dword [esp + 0x20], edx
call sym._malloc
mov ebx, eax
test eax, eax
je 0x493986
lea eax, [edi - 1]
test edi, edi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x18], eax
je 0x493c8d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea edx, [ebx + edx - 0xa8]
mov dword [esp + 0x34], ebx
mov ebx, edx
imul eax, ecx
add eax, esi
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
xor eax, eax
mov ecx, 0x1e
mov edi, ebx
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x78]
mov ecx, 0xc
mov dword [esp + 0x20], ebx
mov edi, esi
mov dword [ebx + 0x70], 0x12c747d
rep stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 0xa4], 0x1072639
test edx, edx
je 0x493cbe
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x493cb2
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x50], eax
cmp dword [esp + 0x18], 1
lea eax, [ebx + 0x30]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], 0x40
je 0x493eba
cmp dword [esp + 0x18], 2
je 0x493c05
mov dword [0x57c744], 3
mov ebx, dword [esp + 0x34]
xor edi, edi
mov dword [ebp + 0x68], edi
mov dword [esp], ebx
call sym._free
jmp 0x493617
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._elf64_xlatetom
test eax, eax
je 0x493f72
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], ebp
mov dword [ebx + 0x14], esi
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x94], ebx
mov dword [esp + 0x18], eax
cmp eax, 1
je 0x493cc6
cmp dword [esp + 0x18], 2
je 0x493d61
mov ecx, dword [ebx + 0x28]
mov eax, dword [0x57c748]
sub dword [esp + 0x1c], 1
sub ebx, 0xa8
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x128], ecx
mov dword [ebx + 0x134], eax
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x28], edx
cmp eax, 0xffffffff
jne 0x493b75
mov ebx, dword [esp + 0x34]
or byte [ebx + 0x2c], 1
cmp dword [esp + 0x18], 1
mov dword [ebp + 0x64], ebx
je 0x493f6a
cmp dword [esp + 0x18], 2
jne 0x4937bc
mov edx, dword [ebp + 0x58]
jmp 0x49374c
mov eax, dword [esp + 0x28]
add eax, dword [ebp + 0xc]
jmp 0x493bc0
mov dword [ebp + 0x68], ebx
jmp 0x493baf
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x88], eax
cmp edx, 0x12
ja 0x493d30
xor eax, eax
cmp edx, 1
jbe 0x493d00
cmp edx, 0x12
ja case.0x493cf2.0
jmp dword [edx*4 + 0x541f4c]
xor eax, eax
lea esi, [esi]
nop
mov dword [ebx + 0x7c], eax
jmp 0x493c58
mov eax, 0xb
jmp 0x493d00
mov eax, 0xc
jmp 0x493d00
mov eax, 8
jmp 0x493d00
mov eax, 7
jmp 0x493d00
mov eax, 2
jmp 0x493d00
mov eax, 0x10
cmp edx, 0x6ffffffe
je 0x493d00
cmp edx, 0x6fffffff
jne 0x493d4c
mov eax, 4
jmp 0x493d00
cmp edx, 0x6ffffffd
mov eax, 0xf
mov edi, 0
cmovne eax, edi
jmp 0x493d00
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x4c]
mov ecx, eax
mov dword [esp + 0x38], eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x64]
mov dword [esp + 0x40], eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x3c]
or edx, dword [esp + 0x44]
or edx, dword [esp + 0x4c]
mov dword [ebx + 0x20], esi
mov dword [esp + 0x48], eax
mov dword [ebx + 0x88], eax
cmp edx, 0
ja 0x49385b
cmp esi, 0x12
ja 0x493e86
cmp esi, 1
jbe case.0x493dc7.0
cmp esi, 0x12
ja case.0x493dc7.0
jmp dword [esi*4 + 0x541f98]
xor esi, esi
mov dword [ebx + 0x7c], esi
jmp 0x493c58
mov dword [ebx + 0x7c], 0xc
cmp esi, 5
jne 0x493c58
mov esi, dword [esp + 0x38]
xor edx, edx
mov edi, dword [esp + 0x3c]
mov eax, esi
and eax, 7
or eax, edx
mov dword [esp + 0x38], eax
jne 0x493c58
mov eax, dword [esp + 0x38]
mov edx, 0xf
cmp edx, esi
sbb eax, edi
jae 0x493c58
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, esi
xor eax, 8
or eax, edi
jne 0x493c58
mov eax, dword [esp + 0x40]
and eax, 7
or eax, 0
jne 0x493c58
mov eax, dword [ebx + 0x68]
xor eax, 8
or eax, dword [ebx + 0x6c]
jne 0x493c58
mov dword [ebx + 0x7c], 1
jmp 0x493c58
mov dword [ebx + 0x7c], 0xb
jmp 0x493c58
mov dword [ebx + 0x7c], 2
jmp 0x493c58
mov dword [ebx + 0x7c], 7
jmp 0x493c58
mov dword [ebx + 0x7c], 8
jmp 0x493c58
cmp esi, 0x6ffffffe
je 0x493eda
cmp esi, 0x6fffffff
jne 0x493ea2
mov dword [ebx + 0x7c], 4
jmp 0x493c58
cmp esi, 0x6ffffffd
jne case.0x493dc7.0
mov dword [ebx + 0x7c], 0xf
jmp 0x493c58
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._elf32_xlatetom
jmp 0x493c20
mov dword [ebx + 0x7c], 0x10
jmp 0x493c58
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x18], eax
jmp 0x493788
mov dword [0x57c744], 0x15
jmp 0x493617
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._elf32_xlatetom
jmp 0x493959
mov edx, dword [ebp + 0xc]
add edx, esi
jmp 0x493918
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 0xa0]
jne 0x49385b
mov edx, dword [ebp]
mov edi, eax
jmp 0x49399f
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x18], eax
jmp 0x493c8d
mov dword [0x57c744], 0x3e
xor esi, esi
mov dword [ebp + 0x58], esi
jmp 0x493617
mov edx, dword [ebp + 0x58]
jmp 0x4937e2
mov ebx, dword [esp + 0x34]
jmp 0x493bf3
mov dword [0x57c744], 0x3f
jmp 0x493617