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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x5f03c8
cmp dword [ebx + 0x58], 0
je 0x5f03c8
mov esi, dword [ebx + 0x54]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x5f03c8
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x5efd85
test byte [eax + 4], 1
je 0x5efd85
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test ecx, ecx
je 0x5efd72
push ecx
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x58], 0
and dword [eax + 4], 0xfffffffe
jmp 0x5efd8c
mov dword [esi + 0x58], 0
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
push edi
movups xmmword [esi + 0x28], xmm0
movups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x7c], 0
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x5e], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
test dword [ecx + 8], 0x10000
jne 0x5efe11
mov dword [esi + 0x98], 0
jmp 0x5efe46
mov eax, dword [esi + 0x9c]
test byte [eax + 4], 2
je 0x5efe46
mov edi, dword [esi + 0x98]
mov eax, dword [ecx + 0x64]
mov ecx, dword [edi]
test ecx, ecx
je 0x5efe36
push ecx
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov dword [edi], 0
mov eax, dword [esi + 0x9c]
and dword [eax + 4], 0xfffffffd
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov edi, dword [ebx + 0x60]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x58]
cmp word [eax + 0xc], 0
je 0x5efea2
cmp word [eax + 0xe], 0
je 0x5efea2
mov edx, dword [ebp + 0x10]
jmp 0x5efea8
mov edx, dword [ebp + 0x10]
or edx, 1
mov ecx, edx
or ecx, 0x801
test edx, 0x400
cmove ecx, edx
test cl, 1
je 0x5efec4
and ecx, 0xfffffffb
or ecx, 0xa
mov edx, ecx
and edx, 0xfffffffb
test ecx, 0x400000
cmove edx, ecx
cmp dword [ebp - 0xc], 0
mov dword [ebp - 4], edx
je 0x5eff09
test edx, 0x8002
jne 0x5eff09
mov eax, dword [ebx + 8]
and eax, 0x2001
cmp eax, 1
jne 0x5eff09
test edx, 0x800
jne 0x5eff5a
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
jne 0x5eff55
cmp dword [eax], 0
jne 0x5eff5a
mov eax, dword [edi + 0xc]
push edx
push dword [ebp + 0xc]
push dword [ebx + 0x58]
mov eax, dword [eax + 0x48]
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x5f03c1
cmp dword [esi + 0x48], 0x6f75746c
jne 0x5f00ac
lea ecx, [esi + 0x6c]
test ecx, ecx
je 0x5f01cf
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
test eax, eax
jne 0x5f00c2
test ecx, ecx
jmp 0x5f010f
cmp dword [eax], 0
jne 0x5eff09
test dl, 0x20
jne 0x5f0003
mov eax, dword [edi]
test dword [eax], 0x400
je 0x5f0003
mov eax, dword [eax + 0x20]
xor ecx, ecx
test eax, eax
je 0x5eff87
push str.font_format
push edi
call eax
add esp, 8
mov ecx, eax
push str.Type_1
push ecx
call fcn.005c31e0
add esp, 8
test eax, eax
je 0x5effa3
cmp dword [edi + 0x1c], 1
jne 0x5effa3
mov cl, 1
jmp 0x5effa5
xor cl, cl
mov edx, dword [ebp - 4]
mov eax, edx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x5effc4
mov eax, dword [edi]
test dword [eax], 0x800
jne 0x5effc4
test cl, cl
je 0x5f0003
test byte [ebx + 8], 8
je 0x5eff09
cmp dword [ebx + 0x304], 0
je 0x5eff09
cmp word [ebx + 0x11e], 0
jne 0x5eff09
cmp dword [ebx + 0x2b0], 0
jne 0x5eff09
cmp dword [ebx + 0x2b8], 0
jne 0x5eff09
test edx, 0x1000000
jne 0x5f0041
test dword [ebx + 8], 0x10000
je 0x5f0041
mov ecx, dword [edi + 0xc]
mov eax, edx
or eax, 0x800000
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 0x48]
push dword [ebx + 0x58]
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x5f003e
cmp dword [esi + 0x48], 0x53564720
je 0x5f00ac
mov edx, dword [ebp - 4]
test byte [ebx + 8], 2
je 0x5f0075
test dl, 8
jne 0x5f0075
mov ecx, dword [edi + 0xc]
or edx, 0x4000
push edx
push dword [ebp + 0xc]
push dword [ebx + 0x58]
mov eax, dword [ecx + 0x48]
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x5f0075
cmp dword [esi + 0x48], 0x62697473
je 0x5f00ac
mov ebx, dword [ebx + 0x80]
mov edx, dword [ebp - 0xc]
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edi, dword [ebx + 0x18]
push dword [ebp + 0xc]
mov dword [ebx + 0x18], 0
mov eax, dword [edx]
push dword [ecx + 0x58]
push esi
mov eax, dword [eax + 0x14]
push edx
mov eax, dword [eax + 0xc]
call eax
mov dword [ebx + 0x18], edi
add esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
test cl, 0x10
je 0x5f01db
mov eax, dword [esi + 0x34]
xor edx, edx
jmp 0x5f01e0
jle 0x5f01cf
test ecx, ecx
jle 0x5f01cf
mov ecx, dword [esi + 0x78]
or edi, 0xffffffff
xor edx, edx
nop dword [eax + eax]
movsx eax, word [ecx]
cmp eax, edi
jle 0x5f01cf
movsx edi, word [esi + 0x6e]
cmp eax, edi
jge 0x5f01cf
mov ebx, dword [ebp + 8]
mov edi, eax
movsx eax, word [esi + 0x6c]
inc edx
add ecx, 2
cmp edx, eax
jl 0x5f00e0
movsx eax, word [esi + 0x6e]
dec eax
cmp edi, eax
jne 0x5f01cf
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 8], eax
test cl, 2
jne 0x5f00af
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
and eax, 0xffffffc0
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x28], edx
and edx, 0xffffffc0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x20], edx
mov dword [ebp - 0x2c], edx
lea edx, [edi + 0x3f]
mov dword [ebp - 0xc], eax
and edx, 0xffffffc0
and eax, 0xffffffc0
mov dword [esi + 0x24], edx
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, ecx
shr eax, 4
test al, 1
je 0x5f018e
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, 0x3f
mov edi, dword [ebp - 0x20]
add edx, eax
mov eax, dword [esi + 0x18]
add edi, 0x3f
add eax, edi
and edx, 0xffffffc0
sub edx, dword [ebp - 0x1c]
and eax, 0xffffffc0
sub eax, dword [ebp - 0x24]
jmp 0x5f01aa
mov ebx, dword [ebp - 0x28]
sub edi, dword [ebp - 0x10]
add ebx, 0x3f
mov eax, dword [esi + 0x18]
and edi, 0xffffffc0
add eax, ebx
sub edx, edi
mov ebx, dword [ebp + 8]
and eax, 0xffffffc0
sub eax, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
lea edi, [esi + 0x1c]
mov dword [edi], edx
mov eax, dword [esi + 0x28]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x34]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x34], eax
jmp 0x5f00af
pop edi
pop esi
mov eax, 0x14
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], eax
test ecx, 0x2000
jne 0x5f021d
test byte [ebx + 8], 1
je 0x5f021d
mov edi, dword [ebx + 0x58]
push pe_nt_image_headers32
push dword [edi + 0x10]
push dword [esi + 0x38]
call fcn.005f0a90
push pe_nt_image_headers32
mov dword [esi + 0x38], eax
push dword [edi + 0x14]
push dword [esi + 0x3c]
call fcn.005f0a90
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 0x3c], eax
test ecx, 0x800
jne 0x5f033a
mov ebx, dword [ebx + 0x80]
mov dword [ebp - 0x24], ebx
cmp dword [ebx + 0x18], 0
je 0x5f033a
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x9c]
test edx, edx
je 0x5f0257
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x48]
je 0x5f027d
mov eax, dword [ecx + 0x94]
xor edx, edx
mov edi, dword [esi + 0x48]
test eax, eax
je 0x5f0279
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x5f0277
mov eax, dword [eax + 4]
test eax, eax
jne 0x5f0266
jmp 0x5f0279
mov edx, ecx
test edx, edx
je 0x5f0297
mov ecx, dword [edx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ebx
push esi
mov eax, dword [ecx + 0x2c]
push edx
call eax
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x5f032d
cmp dword [esi + 0x48], 0x6f75746c
jne 0x5f032d
test byte [ebx + 0x18], 1
je 0x5f02d9
lea eax, [esi + 0x6c]
test eax, eax
je 0x5f02d9
mov edi, dword [eax + 4]
test edi, edi
je 0x5f02d9
movsx eax, word [eax + 2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x5f02d9
mov esi, eax
push ebx
push edi
call fcn.005f3b20
add edi, 8
add esp, 8
cmp edi, esi
jb 0x5f02c5
mov esi, dword [ebp - 0x18]
test byte [ebx + 0x18], 2
je 0x5f032d
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x6c]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x5f032d
mov edx, dword [eax + 4]
xor ecx, ecx
xor edi, edi
cmp cx, word [eax + 2]
mov ecx, dword [ebp + 8]
jge 0x5f032d
mov ebx, dword [ebp - 0x28]
mov esi, eax
nop word [eax + eax]
add dword [edx], ecx
lea edx, [edx + 8]
add dword [edx - 4], ebx
inc edi
movsx eax, word [esi + 2]
movzx ecx, di
cmp ecx, eax
mov ecx, dword [ebp + 8]
jl 0x5f0310
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
lea eax, [esi + 0x40]
push ebx
push eax
call fcn.005f3b20
add esp, 8
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x9c]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 8]
test eax, eax
jne 0x5f03c1
test bl, 1
jne 0x5f03c1
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x5f03c1
cmp ecx, 0x636f6d70
je 0x5f03c1
mov ecx, ebx
sar ecx, 0x10
and ecx, 0xf
jne 0x5f0383
test ebx, 0x1000
mov eax, 2
cmovne ecx, eax
test bl, 4
je 0x5f03b2
mov eax, dword [esi + 4]
test eax, eax
je 0x5f03a6
mov eax, dword [eax + 0x60]
push ecx
push esi
push dword [eax + 4]
call fcn.005f2400
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ecx
push esi
call fcn.005f4a20
mov eax, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 0x23
pop ebx
mov esp, ebp
pop ebp
ret