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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x28c
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_lua_gettop
mov dword [esp + 4], 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_checklstring
mov ebx, dword [esp + 0x3c]
mov ebp, eax
add ebx, eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov edi, ebx
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_buffinit
mov dword [esp + 0x1c], 1
cmp ebp, ebx
jb 0x427282
jmp 0x4272c0
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jae 0x4272e0
lea edx, [eax + 1]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
movzx ecx, byte [ebp]
mov ebp, ebx
mov byte [edx + eax], cl
cmp edi, ebp
jbe 0x4272c0
cmp byte [ebp], 0x25
lea ebx, [ebp + 1]
jne 0x427260
cmp byte [ebp + 1], 0x25
jne 0x427300
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jae 0x427410
lea edx, [eax + 1]
add ebp, 2
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
movzx ecx, byte [ebp - 1]
mov byte [edx + eax], cl
cmp edi, ebp
ja 0x427282
lea esi, [esi]
nop
lea eax, [esp + 0x70]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_pushresult
mov eax, 1
add esp, 0x28c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov eax, dword [esp + 0x78]
jmp 0x42726a
lea eax, [esp + 0x70]
mov dword [esp + 4], 0x78
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
add dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], eax
jl 0x427903
mov dword [esp + 4], str._0_123456789.
mov dword [esp], ebx
call sym._strspn
lea esi, [eax + 1]
mov ebp, eax
cmp esi, 0x15
ja 0x427430
lea eax, [esp + 0x51]
mov dword [esp + 4], ebx
add ebx, ebp
mov dword [esp + 8], esi
lea ebp, [ebx + 1]
mov dword [esp], eax
mov byte [esp + 0x50], 0x25
call sym._memcpy
mov byte [esp + esi + 0x51], 0
movzx eax, byte [ebx]
sub eax, 0x41
cmp al, 0x37
ja case.0x42737d.1
movzx eax, al
jmp dword [eax*4 + 0x473e84]
lea eax, [esp + 0x70]
mov dword [esp + 4], 0x1a2
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_checknumber
mov dword [esp], 1
mov eax, dword [esp + 0x2a0]
mov edx, ebx
mov ecx, str._0
fstp qword [esp + 0x28]
call sym._checkformat
mov edx, 0x47382e
mov eax, ebx
call sym._addlenmod
mov eax, dword [esp + 0x20]
fld qword [esp + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
fstp qword [esp + 8]
call sym._sprintf_1
add eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x42727e
lea eax, [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov eax, dword [esp + 0x78]
jmp 0x42729f
mov eax, dword [esp + 0x2a0]
mov dword [esp + 4], str.invalid_format__too_long_
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_error
jmp 0x427349
mov esi, 0x473d9b
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_checkinteger
mov dword [esp], 1
mov ecx, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp + 0x2c], edx
mov edx, ebx
call sym._checkformat
mov edx, 0x473e04
mov eax, ebx
call sym._addlenmod
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._sprintf_1
add eax, dword [esp + 0x78]
jmp 0x4273fd
mov dword [esp], 1
mov eax, dword [esp + 0x2a0]
mov ecx, str._0
lea edx, [esp + 0x50]
call sym._checkformat
mov edx, 0x47382e
lea eax, [esp + 0x50]
call sym._addlenmod
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_checknumber
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2a0]
lea ecx, [esp + 0x50]
fstp qword [esp]
call sym._lua_number2strx.isra.10
add eax, dword [esp + 0x78]
jmp 0x4273fd
mov esi, 0x473d9f
jmp 0x427455
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_tolstring
cmp byte [esp + 0x52], 0
mov ebx, eax
je 0x427842
mov dword [esp], eax
call sym._strlen
cmp eax, dword [esp + 0x44]
jne 0x427a9a
mov dword [esp], 1
lea esi, [esp + 0x50]
mov ecx, 0x473e02
mov eax, dword [esp + 0x2a0]
mov edx, esi
call sym._checkformat
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call sym._strchr
test eax, eax
je 0x427837
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._sprintf_1
mov dword [esp + 4], 0xfffffffe
mov ebx, eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_lua_settop
mov eax, ebx
add eax, dword [esp + 0x78]
jmp 0x4273fd
cmp byte [esp + 0x52], 0
jne 0x427ae6
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_lua_type
cmp eax, 3
je 0x427966
jg 0x42773c
cmp eax, 1
ja 0x42780f
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_tolstring
lea eax, [esp + 0x70]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_addvalue
mov eax, dword [esp + 0x78]
jmp 0x4273fd
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_lua_topointer
mov dword [esp], 0
mov ecx, 0x473e02
mov edx, esi
mov ebx, eax
mov eax, dword [esp + 0x2a0]
call sym._checkformat
test ebx, ebx
je 0x427923
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._sprintf_1
add eax, dword [esp + 0x78]
jmp 0x4273fd
mov esi, 0x473da2
jmp 0x427455
mov dword [esp], 0
lea ebx, [esp + 0x50]
mov ecx, 0x473e02
mov eax, dword [esp + 0x2a0]
mov edx, ebx
call sym._checkformat
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_checkinteger
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._sprintf_1
add eax, dword [esp + 0x78]
jmp 0x4273fd
lea eax, [esp + 0x50]
mov dword [esp + 4], str.invalid_conversion__s_to_format
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_error
add esp, 0x28c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
jne 0x42780f
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_lua_tolstring
mov esi, dword [esp + 0x40]
mov ebx, eax
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jae 0x427a60
lea edx, [eax + 1]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
mov byte [edx + eax], 0x22
lea eax, [ebx + esi]
test esi, esi
je 0x42789c
mov dword [esp + 0x20], edi
mov esi, eax
lea esi, [esi]
nop
movzx eax, byte [ebx]
cmp al, 0x22
sete cl
cmp al, 0x5c
sete dl
or cl, dl
jne 0x427855
cmp al, 0xa
je 0x427855
movzx edi, al
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_iscntrl]
test eax, eax
je 0x4278c2
movzx eax, byte [ebx + 1]
mov dword [esp + 8], edi
sub eax, 0x30
cmp eax, 9
ja 0x4279fe
lea eax, [esp + 0x44]
mov dword [esp + 4], str._03d
mov dword [esp], eax
call sym._sprintf_1
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_addstring
jmp 0x42788d
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], str.value_has_no_literal_form
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_argerror
mov eax, dword [esp + 0x78]
jmp 0x4273fd
cmp dword [esp + 0x44], 0x63
jbe 0x4275a4
lea eax, [esp + 0x70]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_addvalue
xor eax, eax
jmp 0x4275d3
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jae 0x4278e6
lea edx, [eax + 1]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
mov byte [edx + eax], 0x5c
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jae 0x4278cc
lea edx, [eax + 1]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x78], edx
movzx edx, byte [ebx]
mov byte [ecx + eax], dl
add ebx, 1
cmp esi, ebx
jne 0x4277a0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jae 0x427a7d
lea edx, [eax + 1]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
mov byte [edx + eax], 0x22
mov eax, dword [esp + 0x78]
jmp 0x4273fd
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x74]
jb 0x42787c
lea eax, [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov eax, dword [esp + 0x78]
jmp 0x42787c
lea eax, [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov eax, dword [esp + 0x78]
jmp 0x427863
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp + 8], str.no_value
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_argerror
jmp 0x4272d1
mov edx, esi
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x427925
mov ecx, eax
mov ebx, 0x473da7
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
sub edx, esi
mov byte [esp + edx + 0x4f], 0x73
jmp 0x42768f
lea eax, [esp + 0x70]
mov dword [esp + 4], 0x78
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x2a0]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.fennel_bin.exe_lua_isinteger
mov dword [esp + 8], 0
test eax, eax
jne 0x427a17
mov eax, dword [esp + 0x2a0]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.fennel_bin.exe_lua_tonumberx
fld dword [0x4741f0]
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x427ad4
fld dword [0x474204]
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x427abe
jne 0x427abe
fstp st(0)
mov eax, str._1e9999
mov dword [esp + 8], eax
mov dword [esp + 4], 0x473e43
mov dword [esp], esi
call sym._sprintf_1
mov ebx, eax
jmp 0x4275d1
lea eax, [esp + 0x44]
mov dword [esp + 4], 0x473e36
mov dword [esp], eax
call sym._sprintf_1
jmp 0x4277f9
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_lua_tointegerx
mov ecx, str._lld
mov dword [esp], esi
mov ebx, eax
lea eax, [edx - 0x80000000]
mov dword [esp + 0xc], edx
or eax, ebx
mov eax, str.0x_llx
mov dword [esp + 8], ebx
cmovne eax, ecx
mov dword [esp + 4], eax
call sym._sprintf_1
mov ebx, eax
jmp 0x4275d1
lea eax, [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov eax, dword [esp + 0x78]
jmp 0x427778
lea eax, [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_prepbuffsize
mov eax, dword [esp + 0x78]
jmp 0x4278aa
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], str.string_contains_zeros
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_argerror
jmp 0x42756e
fucomi st(0)
jp 0x427ac8
je 0x427b02
fstp st(0)
jmp 0x427aca
fstp st(0)
mov eax, str._0_0_
jmp 0x4279e3
jne 0x4279c4
fstp st(0)
mov eax, str.1e9999
jmp 0x4279e3
mov eax, dword [esp + 0x2a0]
mov dword [esp + 4], str.specifier___q_cannot_have_modifiers
mov dword [esp], eax
call sym.fennel_bin.exe_luaL_error
jmp 0x4272d1
mov eax, dword [esp + 0x2a0]
fstp qword [esp]
mov ecx, 0x473e40
mov edx, esi
call sym._lua_number2strx.isra.10
mov dword [esp + 4], 0x2e
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp], esi
call sym._memchr
test eax, eax
jne 0x4275d1
call dword [sym.imp.msvcrt.dll_localeconv]
mov dword [esp + 8], ebx
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._memchr
test eax, eax
je 0x4275d1
mov byte [eax], 0x2e
jmp 0x4275d1