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

Disassembly:
sub esp, 0x60
push esi
mov esi, 0x419157
mov dword [esp + 8], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], str.Byte
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], str.Word
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], str.Long
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], str.Struct
mov dword [esp + 0x4c], str.String
mov dword [esp + 0x50], str.Float
mov dword [esp + 0x54], str.Fixed
mov dword [esp + 0x58], str.Char
mov dword [esp + 0x5c], str.Double
mov dword [esp + 0x60], str.Quad
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str.Local
mov dword [esp + 0x24], str.Static
mov dword [esp + 0x28], str.Shared
call fcn.00405a20
test eax, eax
je 0x40b995
push ebx
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x1a]
lea ebx, [esp + 0x1b]
lea edx, [esp + 0x28]
call fcn.00405a90
add esp, 0xc
test eax, eax
je 0x40b97b
push ebp
jmp 0x40b710
mov bl, byte [esp + 0x13]
add dword [esp + 0x14], 1
mov ebp, dword [0x437d70]
mov dl, bl
and dl, 0x80
je 0x40b72e
mov word [ebp], 0x2a
jmp 0x40b732
mov byte [ebp], 0
mov eax, dword [esp + 0x20]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b738
mov edi, ebp
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40b748
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test dl, dl
rep movsb byte es:[edi], byte [esi]
jne 0x40b7b8
mov al, bl
and al, 0x3f
cmp al, 7
jne 0x40b7b8
mov edi, ebp
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x40b771
mov cx, word [0x41c004]
mov eax, dword [esp + 0x18]
mov word [edi], cx
mov esi, eax
jmp 0x40b790
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b790
mov edi, ebp
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40b7a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, ebp
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40b7c0
mov dx, word [0x41bef8]
mov word [eax], dx
mov cl, byte [0x41befa]
mov byte [eax + 2], cl
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
test esi, esi
jne 0x40b81e
movsx eax, byte [esp + 0x12]
mov ecx, dword [esp + eax*4 + 0x28]
mov eax, dword [esp + 0x74]
push ebp
and ebx, 0x3f
mov edx, dword [esp + ebx*4 + 0x3c]
push edx
mov edx, dword [esp + 0x80]
push ecx
push 0x419157
push edx
push str._s__7s_7s____26s___not_initialized_yet_n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 0x1c
jmp 0x40b931
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x40b85c
movsx edx, byte [esp + 0x12]
mov eax, dword [esp + edx*4 + 0x28]
mov edx, dword [esp + 0x74]
push ebp
and ebx, 0x3f
mov ecx, dword [esp + ebx*4 + 0x3c]
push ecx
mov ecx, dword [esp + 0x80]
push eax
push 0x419157
push ecx
push str._s__7s_7s____26s___empty_list_n
push edx
call sub.MSVCRT.dll_fprintf
add esp, 0x1c
jmp 0x40b931
test esi, esi
mov edx, dword [eax + 4]
je 0x40b892
test edx, edx
je 0x40b892
cmp dword [esi + 0x18], 0
je 0x40b872
mov ecx, dword [esi + 0x10]
jmp 0x40b88d
mov eax, dword [esi]
xor ecx, ecx
cmp eax, edx
je 0x40b8c7
lea ebx, [ebx]
mov eax, dword [eax]
test eax, eax
je 0x40b88d
add ecx, 1
cmp eax, edx
jne 0x40b880
cmp ecx, 0xffffffff
jne 0x40b8c7
movsx ecx, byte [esp + 0x12]
mov edx, dword [esp + ecx*4 + 0x28]
mov ecx, dword [esp + 0x74]
push edi
push ebp
and ebx, 0x3f
mov eax, dword [esp + ebx*4 + 0x40]
push eax
mov eax, dword [esp + 0x84]
push edx
push 0x419157
push eax
push str._s__7s_7s____26s___elements:__d__no_current_one__n
push ecx
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp 0x40b931
test esi, esi
jne 0x40b8d0
or ecx, 0xffffffff
jmp 0x40b8fd
test edx, edx
jne 0x40b8d9
or ecx, 0xffffffff
jmp 0x40b8fd
cmp dword [esi + 0x18], 0
je 0x40b8e4
mov ecx, dword [esi + 0x10]
jmp 0x40b8fd
mov eax, dword [esi]
xor ecx, ecx
cmp eax, edx
je 0x40b8fd
lea esp, [esp]
mov eax, dword [eax]
test eax, eax
je 0x40b8fd
add ecx, 1
cmp eax, edx
jne 0x40b8f0
movsx eax, byte [esp + 0x12]
push ecx
mov ecx, dword [esp + eax*4 + 0x2c]
mov eax, dword [esp + 0x78]
push edi
push ebp
and ebx, 0x3f
mov edx, dword [esp + ebx*4 + 0x44]
push edx
mov edx, dword [esp + 0x88]
push ecx
push 0x419157
push edx
push str._s__7s_7s____26s___elements:__d_current:__d_n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 0x24
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x1e]
lea ebx, [esp + 0x1f]
lea edx, [esp + 0x2c]
call fcn.00405a90
add esp, 0xc
test eax, eax
jne 0x40b710
cmp dword [esp + 0x14], eax
pop ebp
je 0x40b976
pop edi
pop ebx
pop esi
add esp, 0x60
mov dword [esp + 8], 0x41bffc
jmp sub.MSVCRT.dll_fprintf
mov esi, 0x419157
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push esi
push edx
push str._s__No_LinkedLists_defined._n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 0x10
pop edi
pop ebx
pop esi
add esp, 0x60
ret