Function at 0x100055a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x414
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push edi
push 0
push 0x80
push 3
push 0
push 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x434]
push 0x10000000
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005855
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebp
push esi
push 0
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
inc eax
push eax
push 0x40
call esi
push 0
mov ebp, eax
push edi
mov dword [esp + 0x24], ebp
call ebx
inc eax
push eax
push 0x40
call esi
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
mov esi, eax
call ebx
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [esp + 0x10]
inc ebx
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
push esi
call fcn.100d4950
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
add esp, 0xc
push str._Modulus_
push esi
call ebx
test eax, eax
je 0x10005849
push str.__Modulus_
push esi
call ebx
test eax, eax
je 0x10005849
push str.__Modulus_
push esi
call ebx
push str._Modulus_
push esi
mov edi, eax
call ebx
cmp edi, eax
jb 0x10005849
push str._Modulus_
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str._Modulus_
mov ebp, eax
call edi
push str.__Modulus_
push esi
add ebp, eax
call ebx
mov byte [eax], 0
test ebp, ebp
je 0x1000582c
push ebp
call edi
push eax
lea ecx, [esp + 0x14]
lea edi, [esp + 0x24]
mov edx, ebp
call fcn.10008be0
mov edx, dword [esp + 0x10]
push 0
push edx
mov eax, edi
push eax
call fcn.1006cf70
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push edx
push edi
push esi
mov dword [ecx + 0x10], eax
call fcn.100d4950
add esp, 0x18
push str._Exponent_
push esi
call ebx
test eax, eax
je 0x10005820
push str.__Exponent_
push esi
call ebx
test eax, eax
je 0x10005820
push str.__Exponent_
push esi
call ebx
push str._Exponent_
push esi
mov ebp, eax
call ebx
cmp ebp, eax
jb 0x10005820
push str._Exponent_
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str._Exponent_
mov ebp, eax
call edi
push str.__Exponent_
push esi
add ebp, eax
call ebx
mov byte [eax], 0
test ebp, ebp
je 0x1000582c
push ebp
call edi
push eax
lea ecx, [esp + 0x14]
lea edi, [esp + 0x24]
mov edx, ebp
call fcn.10008be0
mov eax, dword [esp + 0x10]
push 0
push eax
mov ecx, edi
push ecx
call fcn.1006cf70
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
push edi
push esi
call fcn.100d4950
add esp, 0x18
push 0x10128650
push esi
call ebx
test eax, eax
je 0x10005820
push str.__D_
push esi
call ebx
test eax, eax
je 0x10005820
push str.__D_
push esi
call ebx
push 0x10128650
push esi
mov ebp, eax
call ebx
cmp ebp, eax
jb 0x10005820
push 0x10128650
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x10128650
mov ebp, eax
call edi
push str.__D_
push esi
add ebp, eax
call ebx
mov byte [eax], 0
test ebp, ebp
je 0x1000582c
push ebp
call edi
push eax
lea ecx, [esp + 0x14]
lea edi, [esp + 0x24]
mov edx, ebp
call fcn.10008be0
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov edx, edi
push edx
call fcn.1006cf70
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x18], eax
add esp, 0xc
mov al, 1
jmp 0x1000582e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push edi
call esi
xor al, al
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.100d0738
add esp, 0x414
ret 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push ebp
jmp 0x1000582a
mov ecx, dword [esp + 0x414]
pop edi
xor ecx, esp
xor al, al
call fcn.100d0738
add esp, 0x414
ret 8